(function(){var templateCache = window.$templateCache||Ares.templateCache;templateCache.put('/app/management/components/chargeitem-import-upload-file/chargeitem-import-upload-file-view.html','<div ares-modal-dragable>    <style scoped>        #newDataImportTaskForm .control-label {            width: 100px;            float: left;        }        #newDataImportTaskForm .input-container {            margin-left: 20px;            width: 180px;            float: left;        }        #newDataImportTaskForm .btn-container {            margin-left: 20px;            float: left;        }        #newDataImportTaskForm input, #newDataImportTaskForm select {            width: 175px;        }        #newDataImportTaskForm .btn {            width: 68px;        }    </style>    <div class="modal-header ares-dialog-header">        <h4 class="modal-title">选择上传文件</h4>    </div>    <div class="modal-body ares-dialog-body">        <form id="newDataImportTaskForm" class="form-horizontal" method="post">            <div class="form-group">                <label class="control-label">Excel文件</label>                <div class="input-container">                    <input class="form-control" readonly="readonly" id="scmProductImportNewDialogFileName">                    <input type="file" id="chargeItemImportNewDialogFileInput" style="display: none" accept=".xls,.xlsx"                           document-upload-panel                           ownertype="ownerType"                           ownerid="ownerId"                           add="addUpload(e,data)"                           send="beforeUpload(e,data)"                           start="uploadStart(e,data)"                           stop="uploadStop(e,data)"                           uploadprogress="uploadProgressed(e,data)"                           done="uploadFinished(e,data)"                           fail="uploadFailed(e,data)" />                </div>                <div class="btn-container">                    <button type="button" class="btn btn-default" ng-click="selectFile()">浏览</button>                </div>            </div>            <div class="form-group">                <label class="control-label">全量导入</label>                <div class="input-container">                    <label class="checkbox inline">                        <input type="checkbox" ng-model="isClearData" style="width: 60px;" />                    </label>                    全量导入将清除当前的所有收费项相关数据，请慎重选择                </div>            </div>        </form>    </div>    <div class="modal-footer ares-dialog-footer">        <button type="button" class="btn btn-default" ng-click="cancel()">取消</button>        <button type="button" class="btn btn-primary" ng-click="startUpload()">开始</button>    </div>    <upload-progresse-view ng-show="fileName"></upload-progresse-view></div>');templateCache.put('/app/management/components/followup-auto-rule-cond/followup-auto-rule-cond-view.html','<div class="followup-auto-rule-cond" ng-show="editable||ruleCondSelected">    <style scoped>        .followup-auto-rule-cond .ares-checkbox {            margin-right: 6px;        }        .followup-auto-rule-cond .selected-rule-conds {            margin-left: 5%;        }            .followup-auto-rule-cond .selected-rule-conds ul li {                display: inline-block;                border: 1px solid #00A6C9;                line-height: 24px;                margin-top: 3px;                margin-right: 2px;                padding: 0 5px;            }                .followup-auto-rule-cond .selected-rule-conds ul li a {                    color: #B6B6B6;                    margin-left: 15px;                }    </style>    <input ng-show="editable" type="checkbox" class="ares-checkbox" ng-click="onRuleCondClick()" ng-model="ruleCondSelected" />    <label for="{{::condType}}">{{labelShowName}}</label>    <a ng-show="editable&&ruleCondSelected" ng-click="chooseFollowupRuleCond()">编辑</a>    <div ng-show="ruleCondSelected" class="selected-rule-conds">        <div style="max-height:200px;overflow-y:scroll;">            <ul>                <li ng-repeat="rule in savedFollowupRuleConds" ng-if="showAll||$index<=10">{{rule.itemName}}<a ng-if="editable" ng-click="removeRuleCond($index)"><i class="iconfont icon-guanbi"></i></a></li>            </ul>        </div>        <a ng-show="savedFollowupRuleConds.length>10&&!showAll" ng-click="showAll=true;">显示全部（{{savedFollowupRuleConds.length}}）</a>        <a ng-show="savedFollowupRuleConds.length>10&&showAll" ng-click="showAll=false;">收起</a>    </div></div>');templateCache.put('/app/management/dialogs/complaint-edit-dialog/complaint-edit-view.html','<div ares-clean-kendo class="enyo complaint-edit-view">    <style scoped>        .complaint-edit-form{          margin-bottom: 20px;          font-size: 13px;        }        .complaint-edit-form .form-group-head{          background-color: #f3f7f7;          line-height: 32px;          text-indent: 7px;          margin-bottom: 15px;        }        .complaint-edit-form .label-width {          width: 60px;          text-align: right;          padding: 0;          margin-right: 10px;          line-height: 32px;        }        .complaint-edit-form .label-width label {            font-weight: normal;            color: #9397a2;            margin-bottom: 0;        }        .complaint-edit-form .custom-width{          width: 480px;          padding: 0;        }        .complaint-edit-form .form-group .form-control{          max-width: 100%;          box-shadow: none;        }        .complaint-edit-form .col-category .setting{          line-height: 32px;          margin-left: 9px;          display: inline-block;          cursor: pointer;        }        .complaint-edit-form .input-container .text{            display: inline-block;            line-height: 32px;        }        .complaint-edit-form .input-container .form-group.search-box{          padding-left: 0;          padding-right: 0;          width: 100%;        }        .complaint-edit-form .ares-radio-inline-group{          margin-left: 10px;        }        .complaint-edit-form .ares-radio-inline-group .ares-radio-inline{          margin-right: 15px;        }        .complaint-edit-form .detail-group .form-group{            margin-bottom: 5px;        }        .complaint-edit-form .form-group .col-sm-4{            width: 205px;            padding-right: 0;        }    </style>    <div class="enyo-modal-container">        <div class="enyo-modal-header clearfix">            <div class="pull-left enyo-modal-title">{{title}}</div>            <div class="pull-right iconfont icon-guanbi" ng-click="cancel();"></div>        </div>        <div class="enyo-modal-content">            <form class="complaint-edit-form">                <div class="form-group-head">投诉信息</div>                <div class="detail-group" ng-if="editType == \'feedback\' || editType == \'detail\' || (editType == \'process\' && !editSelf)">                  <div class="form-group clearfix">                      <div class="col-sm-2 label-width">                          <label>投诉人</label>                      </div>                      <div class="col-sm-4 input-container">                          <span class="text" ng-bind="::complaint.sourcePatientName"></span>                      </div>                      <div class="col-sm-2 label-width">                          <label>被投诉人</label>                      </div>                      <div class="col-sm-4 input-container">                          <span class="text" ng-bind="::complaint.targetProvideName"></span>                      </div>                  </div>                  <div class="form-group clearfix">                      <div class="col-sm-2 label-width">                          <label>联系人</label>                      </div>                      <div class="col-sm-4 input-container">                          <span class="text" ng-bind="::complaint.contactName"></span>                      </div>                      <div class="col-sm-2 label-width">                          <label>联系方式</label>                      </div>                      <div class="col-sm-4 input-container">                          <span class="text" ng-bind="::complaint.contactPhoneNumber"></span>                      </div>                  </div>                  <div class="form-group clearfix">                      <div class="col-sm-2 label-width">                          <label>投诉方式</label>                      </div>                      <div class="col-sm-4 input-container">                          <span class="text" ng-bind="complaint.complaintMethod|contactMethodStr"></span>                      </div>                      <div class="col-sm-2 label-width">                          <label>严重程度</label>                      </div>                      <div class="col-sm-4 input-container">                          <span class="text" ng-bind="complaint.severity|levelStr"></span>                      </div>                  </div>                  <div class="form-group clearfix">                      <div class="col-sm-2 label-width">                          <label>投诉主题</label>                      </div>                      <div class="col-sm-4 input-container">                          <span class="text" ng-bind="::complaint.category"></span>                      </div>                  </div>                  <div class="form-group clearfix">                      <div class="col-sm-2 label-width">                          <label>投诉内容</label>                      </div>                      <div class="col-sm-10 input-container">                          <span class="text" ng-bind="::complaint.content" style="max-height: 107px;overflow-y: auto;"></span>                      </div>                  </div>                  <div class="form-group clearfix">                      <div class="col-sm-2 label-width">                          <label>受理员工</label>                      </div>                      <div class="col-sm-4 input-container">                          <span class="text" ng-bind="::complaint.recordProviderName"></span>                      </div>                      <div class="col-sm-2 label-width">                          <label>受理时间</label>                      </div>                      <div class="col-sm-4 input-container">                          <span class="text" ng-bind="complaint.recordTime|toLongDateTimeString"></span>                      </div>                  </div>                </div>                <div ng-show="editType == \'add\' || (editType == \'process\' && editSelf)">                  <div class="form-group clearfix">                      <div class="col-sm-2 label-width">                          <label>投诉人</label>                      </div>                      <div class="col-sm-4 input-container" style="padding-right:0;">                        <ares-patient-search ng-model="patient" on-patient-selected="onPatientSelected"                                             search-string="patient.name" is-global-search="false"                                             allow-create-new="false"                                             hide-result-if-empty="true"                                             watermark=""                                             info-text-format="找到以下 {0} 个包含 {1} 的患者">                                             </ares-patient-search>                      </div>                      <div class="col-sm-2 label-width">                          <label>被投诉人</label>                      </div>                      <div class="col-sm-4 input-container" style="width:205px;">                          <input id="assigneeProvider" type="text" class="form-control" ng-model="complaint.targetProviderId" style="width:205px;" />                      </div>                  </div>                  <div class="form-group clearfix">                      <div class="col-sm-2 label-width">                          <label>联系人</label>                      </div>                      <div class="col-sm-4 input-container">                          <input type="text" class="form-control" ng-model="complaint.contactName" placeholder="请输入联系人" style="width:205px;" />                      </div>                      <div class="col-sm-2 label-width">                          <label>联系方式</label>                      </div>                      <div class="col-sm-4 input-container">                          <input type="text" class="form-control" ng-model="complaint.contactPhoneNumber" placeholder="请输入联系方式" maxlength="11" style="width:205px;" />                      </div>                  </div>                  <div class="form-group clearfix">                      <div class="col-sm-2 label-width">                          <label>投诉方式</label>                      </div>                      <div class="col-sm-4 input-container">                          <input id="complaintMethod" type="text" class="form-control" ng-model="complaint.complaintMethod" style="width:205px;" />                      </div>                      <div class="col-sm-2 label-width">                          <label>严重程度</label>                      </div>                      <div class="col-sm-4 input-container">                          <input id="severity" type="text" class="form-control" ng-model="complaint.severity" style="width:205px;" />                      </div>                  </div>                  <div class="form-group clearfix">                      <div class="col-sm-2 label-width">                          <label>投诉主题</label>                      </div>                      <div class="col-sm-5 input-container custom-width col-category clearfix">                          <input id="category" type="text" class="form-control" ng-model="complaint.category" style="width:454px;float:left;" />                          <i class="iconfont icon-shezhi setting" ares-config-click="editCategory()"></i>                      </div>                  </div>                  <div class="form-group clearfix">                      <div class="col-sm-2 label-width">                          <label>投诉内容</label>                      </div>                      <div class="col-sm-5 input-container custom-width">                          <textarea name="name" rows="2" class="form-control" ng-model="complaint.content" maxlength="300" placeholder="请输入投诉内容"></textarea>                      </div>                  </div>                </div>                <div ng-show="editType != \'detail\'">                  <div class="form-group-head">投诉处理</div>                  <div class="form-group clearfix">                      <div class="col-sm-2 label-width">                          <label>处理结果</label>                      </div>                      <div class="col-sm-5 input-container custom-width" ng-if="editType == \'add\' || editType == \'process\'">                          <textarea name="name" rows="2" class="form-control" ng-model="complaint.processResult" maxlength="300" placeholder="请输入处理结果"></textarea>                      </div>                      <div class="col-sm-5 input-container custom-width" ng-if="editType == \'feedback\'">                          <textarea ng-if="processSelf" name="name" rows="2" class="form-control" ng-model="complaint.processResult" maxlength="300" placeholder="请输入处理结果"></textarea>                          <span ng-if="!processSelf" class="text" ng-bind="::complaint.processResult" style="max-height: 107px;overflow-y: auto;"></span>                      </div>                  </div>                  <div class="detail-group" ng-if="editType == \'feedback\'">                    <div class="form-group clearfix">                        <div class="col-sm-2 label-width">                            <label>处理员工</label>                        </div>                        <div class="col-sm-4 input-container">                            <span class="text" ng-bind="::complaint.processProviderName"></span>                        </div>                        <div class="col-sm-2 label-width">                            <label>处理时间</label>                        </div>                        <div class="col-sm-4 input-container">                            <span class="text" ng-bind="complaint.processTime|toLongDateTimeString"></span>                        </div>                    </div>                  </div>                  <div class="form-group-head">投诉反馈</div>                  <div class="form-group clearfix">                      <div class="col-sm-2 label-width">                          <label>反馈内容</label>                      </div>                      <div class="col-sm-5 input-container custom-width">                          <textarea name="name" rows="2" class="form-control" ng-model="complaint.feedbackContent" maxlength="300" placeholder="请输入反馈内容"></textarea>                      </div>                  </div>                  <div class="form-group clearfix">                      <div class="col-sm-2 label-width">                          <label>反馈方式</label>                      </div>                      <div class="col-sm-4 input-container">                          <input id="feedbackMethod" type="text" class="form-control" ng-model="complaint.feedbackMethod" style="width:205px;" />                      </div>                      <div class="col-sm-2 label-width">                          <label>满意度</label>                      </div>                      <div class="col-sm-4 input-container">                          <input id="satisfaction" type="text" class="form-control" ng-model="complaint.satisfaction" style="width:205px;" />                      </div>                  </div>                  <div class="form-group-head">投诉状态</div>                  <div class="form-group clearfix">                      <div class="col-sm-10 input-container ares-radio-inline-group">                        <label class="ares-radio-inline" ng-if="editType != \'feedback\'">                            <input type="radio" name="state" ng-value="1" ng-model="complaint.state"><span class="radioInput"></span>待处理                        </label>                        <label class="ares-radio-inline">                            <input type="radio" name="state" ng-value="2" ng-model="complaint.state"><span class="radioInput"></span>已处理                        </label>                        <label class="ares-radio-inline">                            <input type="radio" name="state" ng-value="3" ng-model="complaint.state"><span class="radioInput"></span>已反馈                        </label>                      </div>                  </div>                </div>                <div class="detail-group" ng-if="editType == \'detail\'">                  <div class="form-group-head">投诉处理</div>                  <div class="form-group clearfix">                      <div class="col-sm-2 label-width">                          <label>处理结果</label>                      </div>                      <div class="col-sm-10 input-container">                          <span class="text" ng-bind="::complaint.processResult" style="max-height: 107px;overflow-y: auto;"></span>                      </div>                  </div>                  <div class="form-group clearfix">                      <div class="col-sm-2 label-width">                          <label>处理员工</label>                      </div>                      <div class="col-sm-4 input-container">                          <span class="text" ng-bind="::complaint.processProviderName"></span>                      </div>                      <div class="col-sm-2 label-width">                          <label>处理时间</label>                      </div>                      <div class="col-sm-4 input-container">                          <span class="text" ng-bind="complaint.processTime|toLongDateTimeString"></span>                      </div>                  </div>                  <div class="form-group-head">投诉反馈</div>                  <div class="form-group clearfix">                      <div class="col-sm-2 label-width">                          <label>反馈结果</label>                      </div>                      <div class="col-sm-10 input-container">                          <span class="text" ng-bind="::complaint.feedbackContent" style="max-height: 107px;overflow-y: auto;"></span>                      </div>                  </div>                  <div class="form-group clearfix">                      <div class="col-sm-2 label-width">                          <label>反馈方式</label>                      </div>                      <div class="col-sm-4 input-container">                          <span class="text" ng-bind="complaint.feedbackMethod|contactMethodStr"></span>                      </div>                      <div class="col-sm-2 label-width">                          <label>满意度</label>                      </div>                      <div class="col-sm-4 input-container">                          <span class="text" ng-if="complaint.satisfaction == 1">满意</span>                          <span class="text" ng-if="complaint.satisfaction == 2">不满意</span>                      </div>                  </div>                  <div class="form-group clearfix">                      <div class="col-sm-2 label-width">                          <label>反馈员工</label>                      </div>                      <div class="col-sm-4 input-container">                          <span class="text" ng-bind="::complaint.feedbackProviderName"></span>                      </div>                      <div class="col-sm-2 label-width">                          <label>反馈时间</label>                      </div>                      <div class="col-sm-4 input-container">                          <span class="text" ng-bind="complaint.feedbackTime|toLongDateTimeString"></span>                      </div>                  </div>                </div>            </form>        </div>        <div class="enyo-modal-footer">            <span class="text-field" ng-click="cancel()" ng-if="editType != \'detail\'">取消</span>            <button class="btn btn-primary last-field" ng-click="save()" ng-if="editType != \'detail\'">保存</button>            <button class="btn btn-primary last-field" ng-click="cancel()" ng-if="editType == \'detail\'">关闭</button>        </div>    </div></div>');templateCache.put('/app/management/dialogs/customer-clue-allocation-dialog/customer-clue-allocation-view.html','<div ares-clean-kendo class="enyo customer-clue-allocation-view">    <style scoped>        .allocation-edit-form .form-group-head {            background-color: #f3f7f7;            line-height: 32px;            text-indent: 7px;            margin-bottom: 15px;        }        .allocation-edit-form {            margin: 10px;        }        .allocation-edit-form .label-width {            width: 60px;            text-align: right;            padding: 0;            margin-right: 10px;            line-height: 32px;        }        .allocation-edit-form .label-width label {            font-weight: normal;            color: #9397a2;            margin-bottom: 0;        }        .enyo-modal-content {            min-height: 200px;        }    </style>    <div class="enyo-modal-container">        <div class="enyo-modal-header clearfix">            <div class="pull-left enyo-modal-title">线索分配</div>            <div class="pull-right iconfont icon-guanbi" ng-click="cancel();"></div>        </div>        <div class="enyo-modal-content">            <form class="allocation-edit-form">                <div class="form-group clearfix" style="margin-bottom:5px;">                    <div class="col-sm-2 label-width">                        <label>分配方式</label>                    </div>                    <div class="col-sm-10 input-container">                        <label class="ares-radio-inline">                          <input type="radio" name="allocationType" ng-model="allocation.allocationType" ng-value="2"><span class="radioInput"></span>平均分配                      </label>                        <label class="ares-radio-inline" style="margin-left:15px;">                          <input type="radio" name="allocationType" ng-model="allocation.allocationType" ng-value="1"><span class="radioInput"></span>随机分配                      </label>                    </div>                </div>                <ares-provider-select-view original-providers="orProviders" new-providers="newProviders"></ares-provider-select-view>            </form>        </div>        <div class="enyo-modal-footer">            <span class="text-field" ng-click="cancel()">取消</span>            <button class="btn btn-primary last-field" ng-click="save()">保存</button>        </div>    </div></div>');templateCache.put('/app/management/dialogs/customer-clue-track-edit-dialog/customer-clue-track-edit-view.html','<div ares-clean-kendo class="enyo customer-clue-track-edit-view">    <style scoped>        .customer-clue-track-edit-view .clue-info-container {            position: relative;            font-size: 13px;        }        .customer-clue-track-edit-view .clue-customer-base-info {            width: 202px;            position: relative;        }        .customer-clue-track-edit-view .clue-customer-base-info::before {            width: 1px;            height: 100%;            position: fixed;            display: table;            content: "";            border-right: 1px solid #cfdbdd;            margin-left: 202px;        }        .customer-clue-track-edit-view .clue-customer-base-info .clue-c-head {            margin: 10px;        }        .customer-clue-track-edit-view .clue-customer-base-info .clue-c-head .patient-logo {            margin-right: 10px;        }        .customer-clue-track-edit-view .clue-customer-base-info .clue-c-head .patient-info .name {            font-size: 16px;        }        .customer-clue-track-edit-view .clue-customer-base-info .clue-c-head .patient-info .age,        .customer-clue-track-edit-view .clue-c-head .patient-info .mobile {            margin-top: 2px;        }        .customer-clue-track-edit-view .clue-customer-base-info .tags {            margin: 0 10px;        }        .customer-clue-track-edit-view .clue-customer-base-info .tags ul li {            float: left;            background-color: #00a6c9;            color: #fff;            margin-right: 3px;            border-radius: 5px;            padding: 0px 5px;            margin-bottom: 5px;        }        .customer-clue-track-edit-view .clue-customer-base-info .patient-history {            border-top: 1px solid #cfdbdd;            padding: 5px 0;            margin-top: 5px;            position: relative;        }        .customer-clue-track-edit-view .clue-customer-base-info .patient-history .form-group {            margin-bottom: 0;        }        .customer-clue-track-edit-view .patient-history-custom {            margin-top: 5px;        }        .customer-clue-track-edit-view .form-info .form-group-head {            background-color: #e0faff;            line-height: 32px;            text-indent: 7px;            margin-bottom: 10px;        }        .customer-clue-track-edit-view .form-info .label-width {            width: 60px;            text-align: right;            padding: 0;            padding-right: 10px;            line-height: 24px;        }        .customer-clue-track-edit-view .form-info .label-width label {            font-weight: normal;            color: #9397a2;            margin-bottom: 0;        }        .customer-clue-track-edit-view .form-info .input-container .text {            display: inline-block;            line-height: 24px;        }        .customer-clue-track-edit-view .clue-customer-content-info {            width: 635px;        }        .customer-clue-track-edit-view .clue-customer-content-info .form-info {            overflow-x: hidden;            overflow-y: auto;        }        .customer-clue-track-edit-view .clue-customer-content-info .form-info .label-width {            width: 80px;        }        .customer-clue-track-edit-view .clue-customer-content-info .form-info .form-group {            margin-bottom: 5px;        }        .customer-clue-track-edit-view .clue-customer-content-info .clue-state {            color: #fff;            border-radius: 5px;            background-color: #ccc;            padding: 1px 5px;            margin-left: 10px;        }        .customer-clue-track-edit-view .clue-customer-content-info .clue-state {            background-color: #f7a51d;        }        .customer-clue-track-edit-view .clue-customer-content-info .clue-state.clue-state-3 {            background-color: #2dcb73;        }        .customer-clue-track-edit-view .track-info table {            table-layout: fixed;            width: 100%;        }        .customer-clue-track-edit-view .track-info .list-table-body tr td {            padding-left: 10px;            height: 50px;            border-bottom: 1px solid #cfdbdd;        }        .customer-clue-track-edit-view input,        .customer-clue-track-edit-view textarea {            max-width: 100%;            box-shadow: none;        }        .customer-clue-track-edit-view .track-state {            margin-left: 10px;            margin-top: 5px;        }        .customer-clue-track-edit-view .customer-clue-footer {            background: #f3f7f7;            height: 50px;            position: fixed;            width: 633px;            right: 0;            left: 206px;            bottom: 0;        }        .customer-clue-track-edit-view .customer-clue-footer .action-btn {            line-height: 50px;            margin-right: 5px;        }    </style>    <div class="clue-info-container clearfix">        <div class="clue-customer-base-info pull-left">            <div class="clue-c-head clearfix">                <div class="patient-logo pull-left">                    <img src="/Content/imgs/patient-logo.png" width="62" height="62" alt="">                </div>                <div class="patient-info">                    <div class="name enyo-text-primary" ng-bind="::patient.name"></div>                    <div class="age" ng-bind="patient.sex | toSexString"></div>                    <div class="mobile" ng-bind="::patient.mobile"></div>                </div>            </div>            <div class="tags">                <ul>                    <li class="custom-label" ng-repeat="tag in patientTags track by $index" ng-bind="::tag.itemName"></li>                </ul>            </div>            <div class="patient-history form-info">                <div class="form-group clearfix">                    <div class="col-sm-4 label-width">                        <label>来源</label>                    </div>                    <div class="col-sm-8 input-container" style="padding-right:0;">                        <span class="text">                          <span>{{ patient.sourceTypeLevel1 }}</span>                          <span ng-if="patient.sourceType"> | {{ patient.sourceType }}</span>                          <span ng-if="patient.refereeName"> | {{ patient.refereeName }}</span>                        </span>                    </div>                </div>                <div class="form-group clearfix">                    <div class="col-sm-4 label-width">                        <label>既往史</label>                    </div>                    <div class="col-sm-8 input-container">                        <span class="text">{{ patient.bodycheck.disease || \'无既往史\' }}</span>                    </div>                </div>                <div class="form-group clearfix">                    <div class="col-sm-4 label-width">                        <label>过敏原</label>                    </div>                    <div class="col-sm-8 input-container">                        <span class="text">{{ patient.bodycheck.medicine || \'无过敏源\'}}</span>                    </div>                </div>                <div class="form-group clearfix">                    <div class="col-sm-4 label-width">                        <label>用药史</label>                    </div>                    <div class="col-sm-8 input-container">                        <span class="text">{{ patient.bodycheck.medicineNow }}</span>                    </div>                </div>            </div>        </div>        <div class="clue-customer-content-info pull-left">            <div id="form-info" class="patient-history form-info">                <div class="form-group-head" style="border-bottom:1px solid #cfdbdd;">客户信息</div>                <div class="form-group clearfix">                    <div class="col-sm-2 label-width">                        <label>一级渠道</label>                    </div>                    <div class="col-sm-4 input-container">                        <span class="text" ng-bind="::customerClue.channelLevel1"></span>                    </div>                    <div class="col-sm-2 label-width">                        <label>二级渠道</label>                    </div>                    <div class="col-sm-4 input-container">                        <span class="text" ng-bind="::customerClue.channelLevel2"></span>                    </div>                </div>                <div class="form-group clearfix">                    <div class="col-sm-2 label-width">                        <label>诉求项目</label>                    </div>                    <div class="col-sm-4 input-container">                        <span class="text" ng-bind="::customerClue.complaintItem"></span>                    </div>                    <div class="col-sm-2 label-width">                        <label>诉求时间</label>                    </div>                    <div class="col-sm-4 input-container">                        <span class="text" ng-bind="customerClue.complaintTime | toLongDateString"></span>                    </div>                </div>                <div class="form-group clearfix">                    <div class="col-sm-2 label-width">                        <label>诉求内容</label>                    </div>                    <div class="col-sm-10 input-container">                        <span class="text" ng-bind="::customerClue.complaintContent"></span>                    </div>                </div>                <div class="form-group-head" style="margin-bottom:0;border-top:1px solid #cfdbdd;">跟踪信息 <span class="clue-state clue-state-{{customerClue.state}}">{{customerClue.state | clueFollowState}}</span></div>                <div class="track-info">                    <table class="enyo-table-header-secondary">                        <tr>                            <th style="width:170px;">跟进状态</th>                            <th style="width:300px;">备注</th>                            <th>跟进时间</th>                        </tr>                    </table>                    <table class="list-table-body" ng-if="customerClue.state != 1">                        <tbody>                            <tr>                                <td style="width:170px;">                                    <span>首次回访</span>                                    <input ng-if="editType == \'edit\'" id="firstFollow" type="text" class="form-control" ng-model="customerClue.firstFollow" style="width:100px;">                                    <span ng-if="editType == \'detail\' || editType == \'editDetail\'" ng-bind="::customerClue.firstFollow" style="margin-left: 10px;"></span>                                </td>                                <td style="width:300px;">                                    <input ng-if="editType == \'edit\'" type="text" class="form-control" style="width:278px;" ng-model="customerClue.firstFollowNote">                                    <span ng-if="editType == \'detail\' || editType == \'editDetail\'" ng-bind="::customerClue.firstFollowNote"></span>                                </td>                                <td>                                    <span ng-bind="customerClue.firstFollowTime | toLongDateTimeString"></span>                                </td>                            </tr>                            <tr>                                <td style="width:170px;">                                    <span>再次回访</span>                                    <input ng-if="editType == \'edit\'" id="nextFollow" type="text" class="form-control" ng-model="customerClue.nextFollow" style="width:100px;">                                    <span ng-if="editType == \'detail\' || editType == \'editDetail\'" ng-bind="::customerClue.nextFollow" style="margin-left: 10px;"></span>                                </td>                                <td style="width:300px;">                                    <input ng-if="editType == \'edit\'" type="text" class="form-control" style="width:278px;" ng-model="customerClue.nextFollowNote">                                    <span ng-if="editType == \'detail\' || editType == \'editDetail\'" ng-bind="::customerClue.nextFollowNote"></span>                                </td>                                <td>                                    <span ng-bind="customerClue.nextFollowTime | toLongDateTimeString"></span>                                </td>                            </tr>                            <tr>                                <td style="width:170px;">                                    <span>末次回访</span>                                    <input ng-if="editType == \'edit\'" id="lastFollow" type="text" class="form-control" ng-model="customerClue.lastFollow" style="width:100px;">                                    <span ng-if="editType == \'detail\' || editType == \'editDetail\'" ng-bind="::customerClue.lastFollow" style="margin-left: 10px;"></span>                                </td>                                <td style="width:300px;">                                    <input ng-if="editType == \'edit\'" type="text" class="form-control" style="width:278px;" ng-model="customerClue.lastFollowNote">                                    <span ng-if="editType == \'detail\' || editType == \'editDetail\'" ng-bind="::customerClue.lastFollowNote"></span>                                </td>                                <td>                                    <span ng-bind="customerClue.lastFollowTime | toLongDateTimeString"></span>                                </td>                            </tr>                        </tbody>                    </table>                </div>                <div class="track-state form-info">                    <div class="form-group clearfix" ng-show="editType == \'edit\' || editType == \'editDetail\'">                        <div class="col-sm-10 input-container ares-radio-inline-group">                            <label class="ares-radio-inline">                          <input type="radio" name="state" ng-value="2" ng-model="customerClue.state"><span class="radioInput"></span>进行中                      </label>                            <label class="ares-radio-inline" style="margin-left: 10px;">                          <input type="radio" name="state" ng-value="3" ng-model="customerClue.state"><span class="radioInput"></span>已完成                      </label>                        </div>                    </div>                    <div class="form-group clearfix" style="margin-top: 15px;" ng-if="customerClue.state == 3 && editType == \'edit\'">                        <div class="col-sm-2 label-width" style="width: 40px;text-align: left;">                            <label>说明</label>                        </div>                        <div class="col-sm-10" style="margin-left: 0;padding-left: 0;">                            <textarea name="name" rows="1" class="form-control" ng-model="customerClue.note" maxlength="300" placeholder="请输入"></textarea>                        </div>                    </div>                    <div class="form-group clearfix" style="margin-top: 5px;" ng-if="customerClue.state == 3 && editType == \'detail\' || editType == \'editDetail\'">                        <div class="col-sm-12" style="margin-left: 0;padding-left: 0;">                            完成时间：{{customerClue.recordCreatedTime | toLongDateTimeString}}&emsp;|&emsp;说明：{{customerClue.note}}                        </div>                    </div>                </div>                <div class="customer-clue-footer">                    <div class="pull-right action-btn">                        <button class="lc-btn lc-btn-default" ng-click="cancel()" style="margin-right: 10px;" ng-if="editType == \'edit\' || editType == \'editDetail\'">取消</button>                        <button class="btn btn-warning" ng-click="save()" ng-if="editType == \'edit\' || editType == \'editDetail\'">保存</button>                        <button class="btn btn-primary" ng-click="cancel()" ng-if="editType == \'detail\'">关闭</button>                    </div>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/management/dialogs/followup-auto-rule-edit-dialog/followup-auto-rule-edit-view.html','<div class="followup-auto-rule-edit enyo">    <style scoped>        .followup-auto-rule-edit {            padding-top: 10px;            font-size: 14px;            overflow-y: auto;            height: calc(100% - 50px);        }            .followup-auto-rule-edit .form-group {                margin-bottom: 10px;            }            .followup-auto-rule-edit .form-control {                height: 32px;            }            .followup-auto-rule-edit label {                font-weight: normal;                padding-top: 5px;                text-align: right;            }            .followup-auto-rule-edit .required:before {                content: \'*\';                color: red;            }            .followup-auto-rule-edit .slide-large-modal-footer {                background: #f3f7f7;                height: 50px;                padding: 9px 10px;                position: fixed;                width: 100%;                bottom: 0;                text-align: right;            }    </style>    <div style="padding-left:10px;">        <div style="text-align:right;margin-right:20px;border-bottom: 1px dashed #D9D9D9;" ng-if="editable">            <label style="font-weight:bold;cursor:pointer;color: #00A6C9;" ng-click="viewRuleDescription()">查看规则说明</label>        </div>        <label ng-if="editable" style="font-weight:bold">规则配置</label>        <div class="form-group">            <label for="rule-name" class="enyo-text-light" ng-class="editable? \'required\':\'\'">规则名称</label>            <div style="display:inline-block;margin-left:6px;width:50%;">                <input ng-if="editable" class="form-control" id="rule-name" placeholder="请输入规则名称" ng-model="followupAutoRule.ruleName" ng-disabled="followupAutoRule.isDisable">                <span ng-if="!editable">{{followupAutoRule.ruleName}}</span>            </div>        </div>        <div class="form-group">            <label for="rule-name" class="enyo-text-light" style="vertical-align:top;" ng-class="editable? \'required\':\'\'">触发条件</label>            <div style="display:inline-block;margin-left:6px;width:90%;">                <select ng-if="editable" ng-model="followupAutoRule.ruleSubType"                        k-on-change="onFollowRuleSubTypeChange(kendoEvent)"                        style="width:200px;"                        kendo-drop-down-list=""                        k-data-source="followupRuleSubTypes"                        k-data-text-field="\'name\'"                        k-data-value-field="\'id\'"></select>                <span ng-show="editable&&followupAutoRule.ruleSubType==1" class="iconfont icon-xinxi1 tool-tip enyo-text-primary" data-toggle="tooltip" data-placement="right" title="若就诊类型发生变化，可能导致相应的随访规则触发条件无效，请在就诊类型调整后，检查自动随访规则的触发条件是否需要调整"></span>                <span ng-if="!editable" style="margin-top:5px;display:block;">{{followupAutoRule.ruleSubType==0?"按就诊内容":"按就诊类型"}}</span>                <div ng-if="followupAutoRule.ruleSubType==0" style="display:inline-block;margin-left:6px;width:90%;">                    <div ng-if="!followupAutoRule.isDefaultRule" style="display:inline-block;margin-left:6px;width:90%;">                        <followup-auto-rule-cond-view editable="editable"                                                      cond-type="\'chargeItem\'"                                                      saved-followup-rule-conds="savedChargeItemConds">                        </followup-auto-rule-cond-view>                        <followup-auto-rule-cond-view editable="editable"                                                      cond-type="\'chargeCategory\'"                                                      saved-followup-rule-conds="savedChargeCategoryConds"></followup-auto-rule-cond-view>                        <followup-auto-rule-cond-view editable="editable"                                                      cond-type="\'transactioncode\'"                                                      saved-followup-rule-conds="savedTransactioncodeConds"                                                      on-change="onConditionChange(\'transactioncode\', savedTransactioncodeConds)">                        </followup-auto-rule-cond-view>                        <followup-auto-rule-cond-view editable="editable"                                                      cond-type="\'apptCategory\'"                                                      saved-followup-rule-conds="savedApptCategoryConds"                                                      on-change="onConditionChange(\'apptCategory\', savedApptCategoryConds)">                        </followup-auto-rule-cond-view>                    </div>                    <div ng-if="followupAutoRule.isDefaultRule" style="display:inline-block;margin-left:6px;width:90%;">                        <label>收费项目</label>&nbsp;&nbsp;&nbsp;&nbsp;全部<br />                        <label>收费小类</label>&nbsp;&nbsp;&nbsp;&nbsp;全部<br />                        <label>预约项目</label>&nbsp;&nbsp;&nbsp;&nbsp;全部<br />                        <label>预约大类</label>&nbsp;&nbsp;&nbsp;&nbsp;全部                    </div>                </div>                <div ng-if="followupAutoRule.ruleSubType==1" style="display:inline-block;margin-left:6px;width:90%;">                    <div ng-repeat="itemArray in checkinTypes track by $index" style="float:left" ng-style="{\'margin-left\':$index>0?\'25px\':\'0px\'}">                        <div ng-repeat="item in itemArray">                            <input type="checkbox" id="checkinType_{{item.id}}" ng-if="editable" class="ares-checkbox" ng-model="item.checked" />                            <label ng-if="editable" for="checkinType_{{item.id}}"> &nbsp;{{item.itemName}}</label>                            <span ng-if="!editable&&item.checked">{{item.itemName}}</span>                        </div>                    </div>                </div>            </div>            <div ng-if="isSendAdviceWhenAutoFollowupEnabled&&followupAutoRule.ruleSubType==0">                <input type="checkbox" class="ares-checkbox"                       ng-disabled="savedTransactioncodeConds.length > 0 || savedApptCategoryConds.length > 0"                       ng-model="followupAutoRule.isSendAdvice" />                <label style="margin-left:6px">创建随访任务时同时推送微信医嘱</label>            </div>        </div>        <label style="font-weight:bold" ng-if="editable">随访节点配置</label>        <div style="border:1px solid #D6D9DF;margin-right:5px;" ng-if="editable">            <div style="border-bottom:1px solid #D6D9DF;height:32px;">                <input type="text" class="pull-right" style="height:32px;" id="auto-rule-template" />            </div>            <div style="padding-top:10px;">                <followup-template-view editable="editable"                                        followup-template="followupRuleTemplate"></followup-template-view>            </div>        </div>        <div ng-if="!editable">            <div style="padding-top:10px;">                <followup-template-view editable="editable"                                        followup-template="followupRuleTemplate"></followup-template-view>            </div>        </div>    </div>    <div class="slide-large-modal-footer">        <button class="lc-btn lc-btn-primary" ng-click="onSaveClick()" ng-if="editable">保存</button>        <button class="lc-btn lc-btn-default" ng-click="cancel()" ng-if="editable">取消</button>        <button class="lc-btn lc-btn-primary" ng-click="cancel()" ng-if="!editable">确定</button>    </div></div>');templateCache.put('/app/management/dialogs/followup-auto-rule-edit-dialog/dialog/followup-auto-rule-description-view.html','<div ares-clean-kendo class="enyo">    <style></style>    <div class="enyo-modal-container">        <div class="enyo-modal-header clearfix">            <div class="pull-left enyo-modal-title">规则说明</div>            <div class="pull-right iconfont icon-guanbi" ng-click="cancel();"></div>        </div>        <div class="enyo-modal-content" style="min-height:280px;margin:10px;">            1、配置触发条件后，系统自动会在第二天凌晨匹配当天所有的就诊患者，若患者就诊满足触发条件则系统自动会创建相应的随访计划，若患者一次就诊满足多个规则，则以排在靠前的规则为准。            <br />            2、触发条件可以按就诊内容和按就诊类型配置，两类触发条件相互独立，一次就诊若满足两类触发条件，则分别会按照相应的规则创建相应的随访计划。            例如：一个规则的触发条件为按就诊内容为种植，另一个规则的触发条件为按就诊类型为初诊患者，若A患者是初诊患者，且本次就诊项目为种植，则系统会按照这两个随访规则自动创建随访计划        </div>    </div></div>');templateCache.put('/app/management/dialogs/followup-template-edit-dialog/followup-template-edit-view.html','<div class="followup-template-edit">    <style scoped>        .followup-template-edit {            padding-top: 20px;            height: calc(100% - 50px);            overflow-y:scroll;            position: relative;        }            .followup-template-edit .slide-large-modal-footer {                background: #f3f7f7;                height: 50px;                padding: 9px 10px;                position: fixed;                width: 100%;                bottom: 0;                text-align: right;            }            /*.followup-template-edit .followup-template-content {                height: calc(100% - 50px);                overflow-y: scroll;            }*/    </style>    <div class="followup-template-content">        <followup-template-view editable="editable"                                followup-template="followupTemplate"></followup-template-view>    </div>    <div class="slide-large-modal-footer">        <button class="lc-btn lc-btn-primary" ng-click="onSaveClick()" ng-if="editable">保存</button>        <button class="lc-btn lc-btn-default" ng-click="cancel()">取消</button>    </div></div>');templateCache.put('/app/management/dialogs/invoice-package-edit-dialog/invoice-package-edit-dialog.html','<div id="invoice-package-edit-wrap" class="slide-modal slide-modal-wrap" ares-clean-kendo>    <style>        .modal.slide-modal .modal-dialog {            width: 60%;            left: 40%;            transition: left 0.3s,width 0.3s,transform 0.3s;        }        #invoice-package-edit-wrap label {            display: inline-block;            vertical-align: middle;            width: 80px;            margin: 0 10px 0 0;        }        #invoice-package-edit-wrap .form-control {            display: inline-block;            vertical-align: middle;            width: 210px;            margin: 0 15px 0 0;            font-size: 13.9px;        }        #invoice-package-edit-wrap table tr td {            padding: 10px 0;        }        #invoice-package-edit-wrap .slide-modal-content {            margin-top: 10px;        }        #invoice-package-edit-wrap .invoice-number-example-content {            font-size: 24px;            text-align: center;            margin: 20px 0;            line-height: 40px;            letter-spacing: 2px;        }    </style>    <div class="slide-modal-header">        <h3 class="pull-left slide-modal-title">{{title}}</h3>        <button class="pull-right slide-modal-close-btn" ng-click="close()"></button>    </div>    <div class="slide-modal-content">        <div class="invoice-number-example">            <h4>发票号范围：</h4>            <h6 class="invoice-number-example-content">                <span>{{ getStartNumber() }}</span>                <span> - </span>                <span>{{ getEndNumber() }}</span>            </h6>        </div>        <table>            <tr>                <td colspan="2">                    <label>前缀：</label>                    <input type="text" class="form-control" id="invoice-prefix-input"                           maxlength="15" ng-disabled="isPublish"                           placeholder="票号前缀" ng-model="newPackage.invoiceNoRule.prefix" />                </td>            </tr>            <tr>                <td>                    <label>位数：</label>                    <input kendo-numeric-text-box k-options="{format: \'#\', decimals:0}"                           style="margin-right:15px; width:210px;" ng-disabled="isPublish"                           k-ng-model="newPackage.invoiceNoRule.seqNumberDigits"                           k-placeholder="\'自增长票号的位数(默认8位)\'"                           k-spinners="false" k-min="0" k-max="20">                </td>                <td>                    <label>初始值：</label>                    <input kendo-numeric-text-box k-options="{format: \'#\', decimals:0}"                           style="width:210px;" ng-disabled="isPublish"                           k-placeholder="\'自增长票号的初始值(最大7位)\'"                           k-ng-model="newPackage.invoiceNoRule.initialValue" k-max="9999999"                           k-spinners="false" k-min="0" />                </td>            </tr>            <tr>                <td>                    <label>数量：</label>                    <input kendo-numeric-text-box k-options="{format: \'#\', decimals:0}"                           style="margin-right:15px;width:210px;"                           k-placeholder="\'票号可用数量(最大10000)\'"                           k-ng-model="newPackage.count" k-max="10000"                           k-spinners="false" k-min="0" ng-disabled="isPublish" />                </td>                <td>                    <label ng-show="!isPublish">有效时间：<span style="color:red">*</span></label>                    <select kendo-drop-down-list ng-model="validDateRange"                            ng-show="!isPublish"                            style="width:210px;">                        <option value="3">3个月</option>                        <option value="6">6个月</option>                        <option value="9">9个月</option>                        <option value="12">1年</option>                        <option value="24">2年</option>                    </select>                    <label ng-show="isPublish">结束时间：</label>                    <input id="endDatePicker" type="text" ng-show="isPublish"                           kendo-date-time-picker k-ng-model="newPackage.validEndTime"                           k-format="\'yyyy-MM-dd HH:mm\'"                           style="width: 240px;">                </td>            </tr>            <tr>                <td>                    <label>操作人：</label>                    <input id="operator" style="width: 210px;" ng-disabled="isPublish" />                </td>            </tr>        </table>    </div>    <div class="slide-modal-footer">        <button type="button" class="lc-btn lc-btn-primary save-btn" ng-click="save()">确定</button>        <button type="button" class="lc-btn lc-btn-default cancel-btn" ng-click="close()">取消</button>    </div></div>');templateCache.put('/app/management/dialogs/invoice-package-transaction-dialog/invoice-package-transaction-dialog.html','<div id="invoice-package-transaction-wrap" class="slide-modal slide-modal-wrap" ares-clean-kendo>    <style>        .modal.slide-modal .modal-dialog {            width: 70%;            left: 30%;            transition: left 0.3s,width 0.3s,transform 0.3s;        }        #invoice-package-transaction-wrap .page-search-conds-wrap {            margin-top: 10px;        }            #invoice-package-transaction-wrap .page-search-conds-wrap .search-date-time-conds {                padding-bottom: 5px;                min-width: 240px;                vertical-align: middle;                display: inline-block;            }            #invoice-package-transaction-wrap .page-search-conds-wrap .search-cond-item {                display: inline-block;                vertical-align: middle;            }            #invoice-package-transaction-wrap .page-search-conds-wrap .search-other-conds {                padding-bottom: 5px;                vertical-align: middle;                display: inline-block;            }                #invoice-package-transaction-wrap .page-search-conds-wrap .search-other-conds .search-cond-item {                    min-width: 170px;                    border-right: 1px #e6e4e1 solid;                    margin-left: 0;                }            #invoice-package-transaction-wrap .page-search-conds-wrap .create-conds {                float: right;            }            #invoice-package-transaction-wrap .page-search-conds-wrap .search-cond-item-title {                min-width: 40px;                font-size: 13px;                color: #666;                margin-left: 10px;                display: inline-block;                vertical-align: middle;            }            #invoice-package-transaction-wrap .page-search-conds-wrap .search-cond-item-content {                display: inline-block;                vertical-align: middle;                margin-right: 10px;            }            #invoice-package-transaction-wrap .page-search-conds-wrap .btn-selected {                background: #e3e3e3;                box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);            }    </style>    <div class="slide-modal-header">        <h3 class="pull-left slide-modal-title">起始发票号：{{startNumber}}</h3>        <button class="pull-right slide-modal-close-btn" ng-click="close()"></button>    </div>    <div class="page-search-conds-wrap">        <div class="search-date-time-conds">            <span class="search-cond-item-title">操作时间：</span>            <div class="lc-btn-group search-cond-item">                <input id="startDatePicker" type="text" class="form-control"                       kendo-date-picker k-ng-model="timeSpan.startDate" k-format="\'yyyy-MM-dd\'"                       k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;"                       k-on-change="searchInvoiceTransactions()">                -                <input id="endDatePicker" type="text" class="form-control"                       kendo-date-picker k-ng-model="timeSpan.endDate" k-format="\'yyyy-MM-dd\'"                       k-parse-formats="[\'yyyyMMdd\']" style="width: 130px; "                       k-on-change="searchInvoiceTransactions()">            </div>        </div>        <div class="search-other-conds">            <div class="search-cond-item">                <span class="search-cond-item-title">操作人：</span>                <div class="search-cond-item-content">                    <input id="operatorSelect" type="text" style="width: 110px;"                           kendo-drop-down-list ng-model="searchCriteria.operatorId"                           k-data-source="operatorList"                           k-data-text-field="\'name\'" k-data-value-field="\'userId\'" />                </div>            </div>            <div class="search-cond-item">                <span class="search-cond-item-title">操作类型：</span>                <div class="search-cond-item-content">                    <input id="operatorTypeSelect" type="text" style="width: 110px;"                           kendo-drop-down-list ng-model="searchCriteria.operatorType"                           k-data-source="operatorTypeList"                           k-data-text-field="\'name\'" k-data-value-field="\'value\'" />                </div>            </div>            <button class="lc-btn lc-btn-default" ares-slow-click="searchInvoiceTransactions()" style="margin-left:10px;">                <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询            </button>        </div>    </div>    <div class="invoice-package-page-list-wrap">        <table style="width:100%;">            <tr style="height:35px;border-top:2px solid #00a7c6;border-bottom:1px solid #00a7c6;">                <th width="25%">发票号</th>                <th width="10%">发票金额</th>                <th width="10%">操作类型</th>                <th width="15%">患者</th>                <th width="10%">操作人</th>                <th width="20%">操作时间</th>                <th width="10%">操作来源</th>            </tr>        </table>        <div style="overflow-x:auto;border-bottom:2px solid #00a7c6" id="list-body">            <table style="width:100%;font-weight:initial;">                <tr style="height:45px;border-bottom:1px solid #e6e4e1;" ng-repeat="item in transactionsPage">                    <td width="25%">{{item.invoiceNo}}</td>                    <td width="10%">{{item.amount}}</td>                    <td width="10%">{{item.actionTypeStr}}</td>                    <td width="15%">{{item.receiverName}}</td>                    <td width="10%">{{item.operatorName}}</td>                    <td width="20%">{{item.actionTimeStr}}</td>                    <td width="10%">{{item.targetTypeStr}}</td>                </tr>            </table>        </div>    </div>    <div class="pager-action" style="width: 100%;margin-top:10px;">        <div style="text-align: center;">            <div pagination                 total-items="page.totalCount"                 items-per-page="page.size"                 ng-model="page.index" ng-change="searchInvoiceTransactions()"                 max-size="15"                 first-text="第一页"                 previous-text="前一页"                 next-text="后一页"                 last-text="最后一页"                 rotate="true"                 class="pagination" boundary-links="true" style="margin:0;height:36px;"></div>            <ul class="pagination" style="margin:0">                <li class="disabled">                    <a style="padding: 0;padding-left: 5px;padding-right: 5px;">                        每页                        <input kendo-numeric-text-box k-min="1" k-max="50" k-ng-model="page.size"                               style="width:63px;" k-on-change="searchInvoiceTransactions()"                               k-options="{format: \'#\', decimals:0}" />                        条                    </a>                </li>            </ul>            <ul class="pagination" style="margin:0">                <li class="disabled">                    <a style="height:36px;">共{{page.totalCount}}条</a>                </li>            </ul>        </div>    </div></div>');templateCache.put('/app/management/dialogs/organization-business-edit-dialog/organization-business-edit-view.html','<div ares-clean-kendo class="enyo organization-business-edit-view">    <style scoped>        .organization-business-edit-form{          margin: 20px;        }        .organization-business-edit-form .form-group{          margin-bottom: 5px;        }        .organization-business-edit-view .label-width {          width: 60px;          text-align: right;          padding: 0;          margin-right: 10px;          line-height: 32px;        }        .organization-business-edit-view .label-width label {            font-weight: normal;            color: #9397a2;        }        .organization-business-edit-form .input-container{          width: 240px;          padding: 0;        }    </style>    <div class="enyo-modal-container">        <div class="enyo-modal-header clearfix">            <div class="pull-left enyo-modal-title">职务信息</div>            <div class="pull-right iconfont icon-guanbi" ng-click="cancel();"></div>        </div>        <div class="enyo-modal-content">            <form class="organization-business-edit-form">                <div class="form-group clearfix">                    <div class="col-sm-2 label-width">                        <label>所属诊所</label>                    </div>                    <div class="col-sm-5 input-container">                        <input id="officeInput" name="officeInput" type="text" class="form-control" style="width:240px;" />                    </div>                </div>                <div class="form-group clearfix">                    <div class="col-sm-2 label-width">                        <label>所属科室</label>                    </div>                    <div class="col-sm-5 input-container">                        <input id="departmentInput" name="departmentInput" type="text" class="form-control" style="width:240px;" />                    </div>                </div>                <div class="form-group clearfix">                    <div class="col-sm-2 label-width">                        <label>上级职务</label>                    </div>                    <div class="col-sm-5 input-container">                        <input type="text" id="businessInput" class="form-control" ng-model="business.parentId" style="width:240px;" />                    </div>                </div>                <div class="form-group clearfix">                    <div class="col-sm-2 label-width">                        <label>职务名称</label>                    </div>                    <div class="col-sm-5 input-container">                        <input type="text" class="form-control" ng-model="business.name" placeholder="请输入职务名称" maxlength="64" />                    </div>                </div>                <div class="form-group clearfix">                    <div class="col-sm-2 label-width">                        <label>说明信息</label>                    </div>                    <div class="col-sm-5 input-container">                        <textarea name="name" rows="2" class="form-control" ng-model="business.description" maxlength="300"></textarea>                    </div>                </div>            </form>        </div>        <div class="enyo-modal-footer">            <span class="text-field" ng-click="cancel()">取消</span>            <button class="btn btn-primary last-field" ng-click="save()">确定</button>        </div>    </div></div>');templateCache.put('/app/management/dialogs/organization-department-edit-dialog/organization-department-edit-view.html','<div ares-clean-kendo class="enyo organization-department-edit-view">    <style scoped>        .organization-department-edit-form{          margin: 20px;          font-size: 13px;        }        .organization-department-edit-form .form-group{          margin-bottom: 5px;        }        .organization-department-edit-form .label-width {          width: 30px;          text-align: right;          padding: 0;          margin-right: 10px;          line-height: 32px;        }        .organization-department-edit-form .label-width label {            font-weight: normal;            color: #9397a2;        }        .organization-department-edit-form .input-container{          width: 185px;          padding: 0;        }        .organization-department-edit-form .bottom-input-container{          width: 363px;        }        .organization-department-edit-form .bottom-input-container .form-control{          max-width: 100%;        }        .organization-department-edit-form .department-form-top .form-top-right{          margin-left: 20px;        }        .organization-department-edit-form .logo-upload{          background-color:#f3f7f7;        }    </style>    <div class="enyo-modal-container">        <div class="enyo-modal-header clearfix">            <div class="pull-left enyo-modal-title">科室信息</div>            <div class="pull-right iconfont icon-guanbi" ng-click="cancel();"></div>        </div>        <div class="enyo-modal-content">            <form class="organization-department-edit-form">                <div class="department-form-top clearfix">                  <div class="pull-left form-top-left">                    <div class="form-group clearfix">                        <div class="col-sm-2 label-width">                            <label>诊所</label>                        </div>                        <div class="col-sm-5 input-container">                            <input id="officeInput" name="officeInput" type="text" class="form-control" style="width:185px;" />                        </div>                    </div>                    <div class="form-group clearfix">                        <div class="col-sm-2 label-width">                            <label>名称</label>                        </div>                        <div class="col-sm-5 input-container">                            <input type="text" class="form-control" ng-model="department.name" placeholder="请输入科室名称" maxlength="64" />                        </div>                    </div>                    <div class="form-group clearfix">                        <div class="col-sm-2 label-width">                            <label>类型</label>                        </div>                        <div class="col-sm-5 input-container">                            <input type="text" id="departmentType" class="form-control" ng-model="department.departmentType" style="width:185px;" />                        </div>                    </div>                    <div class="form-group clearfix">                        <div class="col-sm-2 label-width">                            <label>上级</label>                        </div>                        <div class="col-sm-5 input-container">                            <input type="text" id="departmentInput" class="form-control" ng-model="department.parentId" style="width:185px;" />                        </div>                    </div>                  </div>                  <div class="pull-left form-top-right">                      <div class="logo-upload">                          <ares-picture-view picture-id="{{department.pictureId}}"                                         on-picture-saved="updateDepartmentPicture"                                         height="158" width="158"                                         alt="上传科室图片" editable="true" is-show-edit-button="true"></ares-picture-view>                      </div>                  </div>                </div>                <div class="form-group clearfix">                    <div class="col-sm-2 label-width">                        <label>位置</label>                    </div>                    <div class="col-sm-5 input-container bottom-input-container">                        <input type="text" class="form-control" ng-model="department.location" maxlength="200" placeholder="请输入科室位置" />                    </div>                </div>                <div class="form-group clearfix">                    <div class="col-sm-2 label-width">                        <label>介绍</label>                    </div>                    <div class="col-sm-5 input-container bottom-input-container">                        <textarea name="name" rows="2" class="form-control" ng-model="department.description" maxlength="300" placeholder="请输入科室位置"></textarea>                    </div>                </div>            </form>        </div>        <div class="enyo-modal-footer">            <span class="text-field" ng-click="cancel()">取消</span>            <button class="btn btn-primary last-field" ng-click="save()">确定</button>        </div>    </div></div>');templateCache.put('/app/management/dialogs/organization-provider-job-title-edit-dialog/organization-provider-job-title-edit-view.html','<div ares-clean-kendo class="enyo organization-business-edit-view">    <style scoped>        .organization-business-edit-form{          margin: 20px;        }        .organization-business-edit-form .form-group{          margin-bottom: 5px;        }        .organization-business-edit-view .label-width {          width: 60px;          text-align: right;          padding: 0;          margin-right: 10px;          line-height: 32px;        }        .organization-business-edit-view .label-width label {            font-weight: normal;            color: #9397a2;        }        .organization-business-edit-form .input-container{          width: 240px;          padding: 0;        }    </style>    <div class="enyo-modal-container">        <div class="enyo-modal-header clearfix">            <div class="pull-left enyo-modal-title">添加员工</div>            <div class="pull-right iconfont icon-guanbi" ng-click="cancel();"></div>        </div>        <div class="enyo-modal-content">            <form class="organization-business-edit-form">                <div class="form-group clearfix">                    <div class="col-sm-2 label-width">                        <label>员工</label>                    </div>                    <div class="col-sm-5 input-container">                        <input id="providerInput" name="provider" type="text" class="form-control" style="width:240px;" />                    </div>                </div>            </form>        </div>        <div class="enyo-modal-footer">            <span class="text-field" ng-click="cancel()">取消</span>            <button class="btn btn-primary last-field" ng-click="save()">确定</button>        </div>    </div></div>');templateCache.put('/app/management/dialogs/orgchain-base-data-sync-info-dialog/orgchain-base-data-sync-info-dialog-view.html','<div id="orgchain-base-data-sync-info-dialog" ares-modal-dragable ares-clean-kendo>    <style>        #orgchain-base-data-sync-info-dialog .sequence {            width: 40px;            text-align: right;            padding-right: 10px;        }        #orgchain-base-data-sync-info-dialog .mainDiv .content {            min-height: 200px;        }        #orgchain-base-data-sync-info-dialog .mainDiv .footer {            text-align: center;        }    </style>    <div class="modal-header ares-dialog-header">        <h4 class="modal-title center-title">{{categoryName}}基础数据分发</h4>    </div>    <div class="modal-body ares-dialog-body mainDiv">        <div class="content">            <table style="width:100%">                <tr class="synchronizng-office-list" ng-repeat="syncPair in distributionList" style="margin-left:0;margin-right:0">                    <td ng-bind="$index+1" class="sequence"></td>                    <td>                        {{syncPair.parentOfficeName}}-->{{syncPair.childOfficeName}}                    </td>                    <td style="width:80px">                        <span ng-show="syncPair.state==\'synchronizing\'" style="color:blue;">正在分发</span>                        <span ng-show="syncPair.state==\'completed\'" style="color:green;">完成</span>                        <span ng-show="syncPair.state==\'error\'" style="color:red;">错误</span>                    </td>                </tr>            </table>        </div>        <div class="footer">            <button class="btn btn-default" ng-click="close()" ng-disabled="!distributionList.allDone">                关闭            </button>        </div>    </div></div>');templateCache.put('/app/management/dialogs/patient-video-play-dialog/patient-video-play-dialog-view.html','<div class="patient-video-play-dialog-container" ares-clean-kendo>    <style>        .patient-video-play-dialog-container {            width: 100%;            height: 514px;            position: relative;            background-color: #000;        }        .patient-video-play-dialog-container .patient-video-play-title {            color: #fff;            text-align: center;            padding: 10px 20px 10px 10px;            height: 40px;            box-sizing: border-box;        }        .patient-video-play-dialog-container > video {            width: 100%;            height: calc(100% - 40px);            outline: none;            border: none;        }        .patient-video-play-dialog-container > i.icon-guanbi {            cursor: pointer;            position: absolute;            top: 10px;            right: 10px;            color: #ddd;        }        .patient-video-play-dialog-container > i.icon-guanbi:hover {            color: #fff;        }    </style>    <div class="patient-video-play-title">{{currentVideo.name}}</div>    <video autoplay controlsList="nodownload" disablePictureInPicture controls></video>    <i class="iconfont icon-guanbi" ng-click="handleCloseModal($event)"></i></div>');templateCache.put('/app/management/dialogs/performance-network-consult-detail-dialog/performance-network-consult-detail-dialog-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <h4 class="modal-title center-title">{{title}}</h4>    </div>    <div class="modal-body ares-dialog-body mainDiv">        <div class="content">            <div id="network-list" style="max-height: 450px; overflow-x: auto"></div>        </div>    </div>    <div class="modal-footer ares-dialog-footer" style="border-left: 0px; border-right: 0px;">        <button type="button" class="btn btn-default" style="float: right;" ng-click="cancel()">关闭</button>        <button type="button" class="btn btn-default" style="float: right; margin-right: 10px" ng-click="exportExcel()" ares-authorize="performance.networkConsultExcel">导出</button>    </div></div>');templateCache.put('/app/management/dialogs/scene-consult-list-dialog/scene-consult-list-dialog-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">填写备注</h4>    </div>    <div class="modal-body ares-dialog-body" style="padding:5px;">        <table style="width:100%;margin:10px;">            <tr>                <td><label>备注&nbsp;&nbsp;</label></td>                <td>                    <textarea style="max-width:300px;width:250px;" rows="5" id="taskNotes"></textarea>                </td>            </tr>        </table>    </div>    <div class="modal-footer ares-dialog-footer">        <button type="button" style="margin-right:10px;" class="btn btn-default" ng-click="cancel()">取消</button>        <button type="button" id="saveBtn" class="btn btn-primary" ng-click="onSave()">保存</button>    </div></div>');templateCache.put('/app/management/views/appt-performance-view.html','<div class="ares-main-content" ares-clean-kendo>    <div class="control-panel">        <table>            <tr>                <!--<td style="width:250px"><h1 style="margin:0">医生收费大类</h1></td>-->                <td style="padding-left: 5px; padding-right: 5px;">从</td>                <td style="width: 130px">                    <input id="startDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.startDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;">                </td>                <td style="padding-left: 5px; padding-right: 5px;">到</td>                <td style="width: 130px; ">                    <input id="endDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.endDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px; ">                </td>                <td style="padding-left: 10px; padding-right: 10px; ">创建人</td>                <td style="width:85px">                    <input id="createInput" type="text" class="form-control" style="width:85px;margin-left:10px">                </td>                <td>                    <div ng-show="isShowRadioBtn">                        &nbsp;&nbsp;                        <label class="radio-inline">                            <input type="radio" name="selectRange" ng-value="true" ng-model="selectTenant">公司级别                        </label>                        <label class="radio-inline">                            <input type="radio" name="selectRange" ng-value="false" ng-model="selectTenant">诊所级别                        </label>                    </div>                </td>                <td>                    <button type="button" class="btn btn-default" ares-slow-click="search()" style="margin-left:20px;">                        <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                    </button>                    <button type="button" class="btn btn-default" ares-slow-click="exportExcel()" ares-authorize="performance.doctorApptPerformanceExcel" style=" margin-left:15px;">                        导出Excel                    </button>                </td>            </tr>        </table>    </div>    <div style="margin-top:5px;">        <div id="apptPerformanceList" style="overflow-x:auto;"></div>    </div></div>');templateCache.put('/app/management/views/appt-transferred-view.html','<div class="ares-main-content" ares-clean-kendo>    <div class="control-panel">        <table>            <tr>                <!--<td style="width:250px"><h1 style="margin:0">医生收费大类</h1></td>-->                <td style="padding-left: 5px; padding-right: 2px;">从</td>                <td style="width: 130px">                    <input id="startDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="searchCriteria.startDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;">                </td>                <td style="padding-left: 5px; padding-right: 2px;">到</td>                <td style="width: 130px; ">                    <input id="endDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="searchCriteria.endDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px; ">                </td>                <td style="padding-left: 10px; padding-right: 2px; ">转出医生</td>                <td style="width:85px">                    <input id="fromDoctorInput" type="text" ng-model="searchCriteria.fromDoctorId" class="form-control" style="width:85px;margin-left:5px">                </td>                <td style="padding-left: 10px; padding-right: 2px; ">转出科室</td>                <td style="width:85px">                    <input id="fromDoctorDepartmentInput" type="text" ng-model="searchCriteria.fromDoctorDepartment" class="form-control" style="width:85px;margin-left:5px">                </td>                <td style="padding-left: 10px; padding-right: 2px; ">转入医生</td>                <td style="width:85px">                    <input id="toDoctorInput" type="text" ng-model="searchCriteria.toDoctorId" class="form-control" style="width:85px;margin-left:5px">                </td>                <td style="padding-left: 10px; padding-right: 2px; ">转入科室</td>                <td style="width:85px">                    <input id="toDoctorDepartmentInput" type="text" ng-model="searchCriteria.toDoctorDepartment" class="form-control" style="width:85px;margin-left:5px">                </td>                <td style="padding-left: 5px;">                    <input class="form-control" style="width: 180px" id="filter" placeholder="患者/病历号/拼音/手机" ng-model="searchCriteria.searchText" />                </td>                <td>                    <button type="button" class="btn btn-default" ares-slow-click="refreshGrid()" style="margin-left:20px;">                        <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                    </button>                </td>            </tr>        </table>    </div>    <div style="margin-top:5px;">        <div id="apptPerformanceList" style="overflow-x:auto;"></div>    </div></div>');templateCache.put('/app/management/views/attendance-rulesetting-dialog.html','<div ares-modal-dragable id="attendanceRuleSettingDlg" ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">排班规则</h4>    </div>    <div class="modal-body ares-dialog-body">        <form name="ruleSettingForm" novalidate class="form-horizontal">            <div class="form-group">                <label for="ruleName" class="col-xs-3 control-label">状态:</label>                <input class="form-control" ng-model="currentRuleDetail.name" required style="width:260px;" />            </div>            <div class="form-group">                <label for="pastHistory" class="col-xs-3 control-label">标示颜色:</label>                <div id="palette"></div>                <!--<input kendo-color-palette="" k-palette=\'[ "#FFD9D9","#FFC2C2","#FFAAAA","#FF7C7C","#FFE1BE","#FFCD93",                       "#FFBF75","#FFAF51","#ACFDCE","#62EC9B","#A8F4E3","#62E3C6","#BEE3FF","#8DCEFF","#E5E2FF",                       "#FFF0A3","#FFE663","#E7FFB3","#D7FF81" ]\' k-tileSize=\'40\' ng-model="currentRuleDetail.scheduleColor" style="width:260px;" />-->            </div>        </form>    </div>    <div class="modal-footer ares-dialog-footer">        <button type="button" class="btn btn-default" ng-click="cancel()">取消</button>        <button type="button" class="btn btn-primary" ng-click="ok()" ng-disabled="ruleSettingForm.$invalid">保存</button>    </div></div>');templateCache.put('/app/management/views/attendance-rulesetting-view.html','<div class="ares-main-content" ares-clean-kendo>    <div style="padding-bottom:5px;margin-left:0px;padding-left:0px;">        <table>            <tr>                <td style="width: 100px; padding-left: 10px; padding-right: 10px; ">                    <a class="btn btn-default" ng-click="createRuleDetail()">                        <i class="fa fa-plus"></i> 新建状态                    </a>                </td>            </tr>        </table>    </div>    <div id="ruleDetailList">    </div>    <notification-upload-success></notification-upload-success></div>');templateCache.put('/app/management/views/attendance-staff-view.html','<div class="ares-main-content" ares-clean-kendo>    <style scoped>        .rule-legend-container {            position: absolute;            width: 100%;            height: 20px;            padding: 2px 10px;            bottom: 3px;            border-top: solid 1px lightgray;        }            .rule-legend-container .control-label {                font-weight: normal;                font-size: 15px;                vertical-align: middle;                margin-bottom: 10px;                margin-left: 2px;            }        .rule-legend {            display: inline-block;            margin-right: 5px;        }        .rule-legend-icon {            width: 10px;            height: 10px;            margin-bottom: 3px;            display: inline-block;        }    </style>    <div style="padding-bottom:5px;margin-left:0px;padding-left:0px;">        <table>            <tr>                <td>                    <input id="monthpicker" style="width: 140px">                </td>                <td ng-repeat="detail in ruleDetailList" style="padding-left: 2px; padding-right: 2px; ">                    <a class="btn btn-default" ng-click="setRuleDetail(detail)">                        {{detail.name}}                    </a>                </td>                <td style="padding-left: 2px; padding-right: 2px; ">                    <a class="btn btn-primary" ng-click="removeRuleDetail()">                        撤销                    </a>                </td>                <td style="padding-left: 2px; padding-right: 2px; ">                    <a class="btn btn-primary" ng-click="exportExcel()">                        导出excel                    </a>                </td>            </tr>        </table>    </div>    <div id="scheduleList">    </div>    <!--<div class="rule-legend-container">        <div class="pull-right">            <div class="rule-legend">                <div><div class="rule-legend-icon" /><label class="control-label">早班</label></div>            </div>        </div>    </div>--></div>');templateCache.put('/app/management/views/charge-deduction-view.html','<div class="ares-main-content" ares-clean-kendo>    <div class="control-panel" id="divCondition">        <table>            <tr>                <td>                    <table>                        <tr>                            <td style="width:90px">                                <label class="radio-inline">                                    <input type="radio" name="dateType" ng-value="1" ng-model="isByOrderDate">开单时间                                </label><br />                                <label class="radio-inline">                                    <input type="radio" name="dateType" ng-value="0" ng-model="isByOrderDate">划扣时间                                </label>                                <label class="radio-inline" style="margin-left:0">                                    <input type="radio" name="dateType" ng-value="2" ng-model="isByOrderDate">收费时间                                </label>                            </td>                            <td>                                <table>                                    <tr>                                        <td style="width: 130px">                                            <input id="startTimePicker" type="text" class="form-control" kendo-date-time-picker k-ng-model="timeSpan.startDate" k-format="\'yyyy-MM-dd HH:mm\'" k-culture="zh-CN" style="width: 190px;">                                        </td>                                        <td style="padding-left: 5px; padding-right: 5px;">-</td>                                        <td style="width: 130px; ">                                            <input id="endTimePicker" type="text" class="form-control" kendo-date-time-picker k-ng-model="timeSpan.endDate" k-format="\'yyyy-MM-dd HH:mm\'" k-culture="zh-CN" style="width: 190px; ">                                        </td>                                    </tr>                                </table>                            </td>                            <td style="padding-left: 10px; padding-right: 5px; width: 80px;">                                收费项目                            </td>                            <td style="width: 287px;">                                <input type="text" class="form-control" ng-model="chargeItemNames" ng-readonly="true" ng-click="openDialog()">                            </td>                            <td style="padding-left: 10px; padding-right:5px; width:80px;">患者标签</td>                            <td style="width:220px;" colspan="2">                                <select class="not-ignore form-control" id="patientTag" style="width:210px;max-width:360px;margin-left:10px;"></select>                            </td>                        </tr>                    </table>                </td>            </tr>            <tr>                <td>                    <table>                        <tr>                            <td style="padding-left: 2px; padding-right: 5px;width:50px">                                医生                            </td>                            <td style="width: 205px;padding-left: 5px; padding-right: 0px;">                                <input id="doctor" type="text" class="form-control" style="width:200px" ng-disabled="isPersonLevel">                            </td>                            <td style="padding-left: 10px; padding-right: 10px; width: 116px;">                                划扣状态                            </td>                            <td style="padding-right: 10px; ">                                <input style="width: 180px;" id="statusInput" type="text" class="form-control">                            </td>                            <td style="padding-left: 0px; padding-right:5px; width:110px; ">优惠比例</td>                            <td style="width: 90px;">                                <input id="minDiscount" style="width: 80px;"                                       k-ng-model="minDiscount" kendo-numeric-text-box                                       ng-model="minDiscount"                                       k-min="0" k-max="100" k-step="1" k-options="{format: \'#.##\', decimals:2}">                            </td>                            <td style="width:15px;">                                <label> - </label>                            </td>                            <td style="width: 90px;">                                <input id="maxDiscount" style="width: 80px;"                                       k-ng-model="maxDiscount" kendo-numeric-text-box                                       ng-model="maxDiscount"                                       k-min="0" k-max="100" k-step="1" k-options="{format: \'#.##\', decimals:2}">                            </td>                            <td>                                <input class="form-control" ng-model="patientSearchKeyWord" style="width:212px;" placeholder="患者姓名/拼首码/手机/病历号">                            </td>                            <td style="width: 300px;padding-left: 12px">                                <button type="button" class="btn btn-default" ares-slow-click="onSearch()">                                    <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                                </button>                                <button type="button" class="btn btn-default" ares-slow-click="onExport()" ares-authorize="performance.chargeDeductionExcel" style="margin-left:10px;">                                    <span class="glyphicon glyphicon-th" aria-hidden="true"></span> 导出Excel                                </button>                            </td>                        </tr>                    </table>                </td>            </tr>        </table>    </div>    <div style="margin-top:2px;">        <div id="chargeDeductionReportList"></div>    </div></div>');templateCache.put('/app/management/views/charge-planprice-confirmed-view.html','<div class="ares-main-content" ares-clean-kendo>    <style>        #divCondition .btn-selected {            background: #e3e3e3;            box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);        }    </style>    <div class="control-panel" id="divCondition">        <table>            <tr>                <td>                    <table>                        <tr>                            <td style="width:210px">                                <div class="btn-group" role="group">                                    <button type="button" class="btn btn-default" ng-class="{\'btn-selected\':selectAction == \'detail\'}" ng-click="switchAction(\'detail\')">明细</button>                                    <button type="button" class="btn btn-default" ng-class="{\'btn-selected\':selectAction == \'patient\'}" ng-click="switchAction(\'patient\')">按患者维度汇总</button>                                </div>                            </td>                            <td style="width:90px">                                <label class="radio-inline">                                    <input type="radio" name="dateType" ng-value="1" ng-model="isByOrderDate">开单时间                                </label><br />                                <label class="radio-inline">                                    <input type="radio" name="dateType" ng-value="0" ng-model="isByOrderDate">划扣时间                                </label>                                <label class="radio-inline" style="margin-left:0">                                    <input type="radio" name="dateType" ng-value="2" ng-model="isByOrderDate">收费时间                                </label>                            </td>                            <td>                                <table>                                    <tr>                                        <td style="width: 130px">                                            <input id="startTimePicker" type="text" class="form-control" kendo-date-time-picker k-ng-model="timeSpan.startTime" k-format="\'yyyy-MM-dd HH:mm\'" k-culture="zh-CN" style="width: 190px;">                                        </td>                                        <td style="padding-left: 5px; padding-right: 5px;">-</td>                                        <td style="width: 130px; ">                                            <input id="endTimePicker" type="text" class="form-control" kendo-date-time-picker k-ng-model="timeSpan.endTime" k-format="\'yyyy-MM-dd HH:mm\'" k-culture="zh-CN" style="width: 190px; ">                                        </td>                                    </tr>                                </table>                            </td>                            <td style="padding-left: 10px; padding-right: 5px; width: 80px;">                                收费项目                            </td>                            <td style="width: 287px;">                                <input type="text" class="form-control" ng-model="chargeItemNames" ng-readonly="true" ng-click="openDialog()">                            </td>                            <td style="width:150px;">                                <select class="not-ignore form-control" id="step-drop" style="margin-left:10px;width:150px;"></select>                            </td>                        </tr>                    </table>                </td>            </tr>            <tr>                <td>                    <table>                        <tr>                            <td style="padding-left: 10px; padding-right:5px; width:80px;">患者标签</td>                            <td style="width:220px;" colspan="2">                                <select class="not-ignore form-control" id="patientTag" style="width:210px;max-width:360px;margin-left:10px;"></select>                            </td>                            <td style="padding-left: 2px; padding-right: 5px;width:50px">                                医生                            </td>                            <td style="width: 205px;padding-left: 5px; padding-right: 0px;">                                <input id="doctor" type="text" class="form-control" style="width:200px" ng-disabled="isPersonLevel">                            </td>                            <td style="padding-left: 10px; padding-right: 10px; width: 116px;">                                划扣状态                            </td>                            <td style="padding-right: 10px; ">                                <input style="width: 180px;" id="statusInput" type="text" class="form-control">                            </td>                            <td>                                <input class="form-control" ng-model="patientSearchKeyWord" style="width:212px;" placeholder="患者姓名/拼首码/手机/病历号">                            </td>                            <td style="width: 300px;padding-left: 12px">                                <button type="button" class="btn btn-default" ares-slow-click="onSearch()">                                    <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                                </button>                                <button type="button" class="btn btn-default" ares-slow-click="onExport()" ares-authorize="performance.chargeDeductionExcel" style="margin-left:10px;">                                    <span class="glyphicon glyphicon-th" aria-hidden="true"></span> 导出Excel                                </button>                            </td>                        </tr>                    </table>                </td>            </tr>        </table>    </div>    <div style="margin-top:2px;">        <div id="chargeDeductionReportList"></div>    </div></div>');templateCache.put('/app/management/views/consult-performance-view.html','<div class="consult-performance-management-page-wrap" ares-clean-kendo>    <style>        .consult-performance-management-page-wrap .page-search-conds-wrap .search-date-time-conds {            padding-bottom: 5px;            min-width: 240px;            vertical-align: middle;            display: inline-block;        }        .consult-performance-management-page-wrap .page-search-conds-wrap .search-other-conds {            padding-bottom: 5px;            vertical-align: middle;            display: inline-block;        }        .consult-performance-management-page-wrap .page-search-conds-wrap .search-cond-item {            display: inline-block;            vertical-align: middle;            margin-left: 10px;        }        .consult-performance-management-page-wrap .page-search-conds-wrap .search-cond-item-title {            min-width: 40px;            font-size: 13px;            color: #abadaf;            margin-left: 10px;            display: inline-block;            vertical-align: middle;        }        .consult-performance-management-page-wrap .page-search-conds-wrap .search-cond-item-content {            display: inline-block;            vertical-align: middle;        }        .consult-performance-management-page-wrap .page-search-conds-wrap .search-other-conds .search-cond-item {            width: 170px;            border-right: 1px #e6e4e1 solid;            margin-left: 0;        }        .consult-performance-management-page-wrap .page-search-conds-wrap .btn-selected {            background: #e3e3e3;            box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);        }        .consult-performance-management-page-wrap .consult-page-list-wrap th,        .consult-performance-management-page-wrap .consult-page-list-wrap td {            text-align: center;            word-break: break-all;            word-wrap: break-word;        }        .consult-performance-management-page-wrap .search-date-time-conds .btn-selected {            background: #e3e3e3;            box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);        }        .consult-performance-management-page-wrap .consult-page-list-wrap .action-icon-btn {            width: 20px;            height: 20px;            display: inline-block;            vertical-align: middle;        }        #list-body tr:hover {            background-color: #ebfcff;        }        .column-template-default-style {            color: #00A6C9;            cursor: pointer;        }        #ConsultPerformanceList .patient-count {            color:#00A6C9;        }        #ConsultPerformanceList .app-pre-count {            color:#00A6C9;        }        #ConsultPerformanceList .app-count {            color:#00A6C9;        }        #ConsultPerformanceList .actual-price {            color:#00A6C9;        }        #ConsultPerformanceList tr.k-state-selected .patient-count {            color:#fff;        }        #ConsultPerformanceList  tr.k-state-selected .app-pre-count {            color:#fff;        }        #ConsultPerformanceList  tr.k-state-selected .app-count {            color:#fff;        }        #ConsultPerformanceList  tr.k-state-selected .actual-price {            color:#fff;        }    </style>    <div class="control-panel">        <ul class="flex-panel" style="">            <li class="flex-panel-item panel-input-group">                <timer-range-picker time-range-date="timeSpan"></timer-range-picker>            </li>            <li class="flex-panel-item panel-input-group" ng-if="isGroup">                <office-selector class="pull-left"                                 office-tree-data="officeTreeData"                                 select-mode="officeOnly"                                 selected-office-ids="selectedOfficeIds"                                 on-selected="onOfficeSelected(selectedOffices)"></office-selector>                </td>            </li>            <li class="flex-panel-item panel-input-group">                <label>科室</label>                <div class="pull-left scheduler-button-container" style="top:0;">                    <input id="consultDepartment" type="text" ng-model="searchCriteria.departments"                           class="form-control" style="width:85px;margin-left:5px">                </div>            </li>            <li class="flex-panel-item panel-input-group">                <label>咨询师</label>                <div class="pull-left scheduler-button-container" style="top:0;">                    <input id="consult" type="text" class="form-control" style="width: 234px;margin-left:5px">                </div>            </li>            <li class="flex-panel-item panel-input-group">                <div class="pull-right" style="display:inline;">                    <button class="btn btn-default" ares-slow-click="search()" style="margin:0 15px;">                        <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                    </button>                    <button class="btn btn-default" ares-slow-click="exportExcel()" style="margin-left:15px;">                        导出Excel                    </button>                </div>            </li>        </ul>    </div>    <div style="margin-top: 5px;">        <div id="ConsultPerformanceList"></div>        <div style="margin-top:10px;overflow-x:auto" ng-if="isGroup && !pageData">            <h2 style="margin-left:30px;">请先选择门店！</h2>        </div>    </div></div>');templateCache.put('/app/management/views/consultant-work-summary-report-view.html','<div class="ares-main-content" ares-clean-kendo>    <div class="control-panel">        <table style="width:100%;">            <tr>                <td ng-show="showQueryType" style="width:150px;">                    <div>                        <input id="queryTypeInput" ng-model="queryType" type="text" class="form-control" style="width:150px">                    </div>                </td>                <td style="width:80px;padding-left:10px;width:100px;">                    <label class="radio-inline">                        <input type="radio" name="dateType" ng-value="true" ng-model="defaultSelect">日查询                    </label><br />                    <label class="radio-inline">                        <input type="radio" name="dateType" ng-value="false" ng-model="defaultSelect">月查询                    </label>                </td>                <td style="width: 130px" ng-show="defaultSelect">                    <input id="startDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.startTime" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;">                </td>                <td style="width: 190px" ng-hide="defaultSelect">                    <input id="startTimePicker" type="text" class="form-control" kendo-date-time-picker k-ng-model="timeSpan.startTime" k-format="\'yyyy-MM-dd HH:mm\'" k-culture="zh-CN" style="width: 190px;">                </td>                <td style="padding-left: 5px; padding-right: 5px;width:15px;" ng-hide="defaultSelect">-</td>                <td style="width: 190px; " ng-hide="defaultSelect">                    <input id="endTimePicker" type="text" class="form-control" kendo-date-time-picker k-ng-model="timeSpan.endTime" k-format="\'yyyy-MM-dd HH:mm\'" k-culture="zh-CN" style="width: 190px; ">                </td>                <td ng-show="queryType == \'按收费记录统计\' && showQueryType" style="padding-left:5px;width:70px;">                    <span>患者标签</span>                </td>                <td ng-show="queryType == \'按收费记录统计\' && showQueryType" style="width: 230px;">                    <select class="not-ignore form-control" id="patientTag" style="width:210px;max-width:360px;margin-left:10px;"></select>                </td>                <td ng-show="queryType == \'按收费记录统计\'" style="padding-left:5px;">                    <input class="form-control" style="width: 230px" id="filter" placeholder="患者/病历号/拼音/手机" ng-model="selectCode" ng-change="toggleStateSelection()" />                </td>                <td ng-hide="queryType == \'按收费记录统计\' && showQueryType">                    <button type="button" class="btn btn-default" ares-slow-click="search()" style="margin-left:20px;">                        <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                    </button>                    <button type="button" class="btn btn-default" ares-slow-click="exportExcel()" ng-show="queryType == \'按收费记录统计\' && isShowExcelBtn" style="margin-left:15px;" ng-disabled="pageData.length <= 0">                        导出Excel                    </button>                </td>                <td align="right" ng-show="queryType == \'按收费记录统计\' && showQueryType">                    <button type="button" class="btn btn-default" ares-slow-click="exportExcel()" ng-show="queryType == \'按收费记录统计\' && isShowExcelBtn" style="margin-left:15px;" ng-disabled="pageData.length <= 0">                        导出Excel                    </button>                </td>            </tr>        </table>        <table ng-show="queryType == \'按收费记录统计\' && showQueryType" style="width:100%">            <tr>                <td style="padding-left: 10px; padding-right:5px; width:90px; ">整单折扣率</td>                <td style="width: 90px;">                    <input id="orderMinDiscount" style="width: 80px;"                           k-ng-model="orderMinDiscount" kendo-numeric-text-box                           k-min="0" k-max="100" k-step="1" k-options="{format: \'#.##\', decimals:2}">                </td>                <td style="width:15px;">                    <label> - </label>                </td>                <td style="width: 90px;">                    <input id="orderMaxDiscount" style="width: 80px;"                           k-ng-model="orderMaxDiscount" kendo-numeric-text-box                           k-min="0" k-max="100" k-step="1" k-options="{format: \'#.##\', decimals:2}">                </td>                <td style="padding-left: 10px; padding-right:5px; width:90px; ">预约项目</td>                <td style="width: 130px;">                    <input type="text" class="form-control" ng-model="transactionCodeNames" placeholder="全部" style="width: 180px" ng-readonly="true" ng-click="openTransactionItemsDialog()">                </td>                <td style="padding-left: 10px; padding-right:5px; width:90px; ">自定义标签</td>                <td style="width: 130px;">                    <input type="text" class="form-control" ng-model="privateTag" style="width: 180px">                </td>                <td style="padding-left: 10px; padding-right:5px; width:90px; ">是否成交</td>                <td style="width: 130px;">                    <select class="not-ignore" kendo-drop-down-list style=" width:100px" ng-model="isDealed">                        <option value="-1">全部</option>                        <option value="0">未成交</option>                        <option value="1">已成交</option>                    </select>                </td>                <td align="left">                    <button type="button" class="btn btn-default" ares-slow-click="search()" style="margin-left:20px;">                        <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                    </button>                </td>            </tr>        </table>    </div>    <div style="margin-top:2px;" ng-show="showConsultantGrid">        <div id="consultantWorkSummaryList" ng-show="!isEmpty"></div>        <div ng-show="isEmpty"><h2>没有查询到数据!</h2></div>    </div>    <div style="margin-top:2px;" ng-show="!showConsultantGrid">        <div id="consultantWorkTxPlanSummaryList" ng-show="!isTxPlanEmpty"></div>        <div ng-show="isTxPlanEmpty"><h2>没有查询到数据!</h2></div>    </div></div>');templateCache.put('/app/management/views/followup-borwser-view.html','<div class="enyo follow-up-list-view enyo" ares-clean-kendo>    <style scoped>        .tooltip-inner {            text-align: left !important;            max-width: 400px !important;        }        .follow-up-list-view .k-grid .k-grid-header th {            background-color: #00A6C9;            border-radius: 0 !important;            color: #fff;            vertical-align: middle;            border: none;        }        .follow-up-list-view .k-grid td {            border-left: none;            border-right: none;            height: 50px;        }        .follow-up-list-view .followup-borwser-list .k-grid-header-locked {            margin-right: -10px;        }        .follow-up-list-view .followup-borwser-list .k-grid-content-locked,        .follow-up-list-view .followup-borwser-list .k-grid-header .k-grid-header-locked {            float: right;            border-width: 0;        }        .follow-up-list-view .followup-borwser-list table td {            padding: 0 10px 0 10px;            text-align: left;        }        .follow-up-list-view .followup-borwser-list .action-btn {            font-size: 13px;            margin-right: 3px;        }            .follow-up-list-view .followup-borwser-list .action-btn:last-child {                margin: 0;            }        .follow-up-list-view .overflow-content {            overflow: hidden;            text-overflow: ellipsis;            /*display: -webkit-box;*/            -webkit-line-clamp: 2;            -webkit-box-orient: vertical;            /*margin-top: 5px;*/        }        .follow-up-list-view a.action {            color: #575D6A;            margin-left: 5px;        }        .follow-up-list-view .pager-action {            width: 100%;            padding-top: 5px;            background-color: #f5f5f5;            border-bottom: 1px solid #D6D9DF;            border-left: 1px solid #D6D9DF;            border-right: 1px solid #D6D9DF;        }        .follow-up-list-view .exceed-sign {            font-size: 10px;            color: white;            background-color: red;            margin-left: 3px;            padding: 0 5px;        }        .follow-up-list-view .search-form {            display: inline-block;            margin-right: 5px;        }            .follow-up-list-view .search-form:last-child {                margin-right: 0;            }            .follow-up-list-view .search-form label {                font-weight: initial;            }            .follow-up-list-view .search-form .search-control {                width: 100px;            }        .follow-up-list-view .advance-search .search-form {            margin-top: 10px;        }    </style>    <div class="followup-list-view-container">        <div class="ares-page-header">            <div class="search-form">                <label class="search-label">随访状态</label>                <select class="search-control" kendo-drop-down-list k-on-change="handleKendoDropDownSelect(\'随访状态\')" ng-model="pageState.statusType">                    <option value="-1">全部</option>                    <option value="待计划">待计划</option>                    <option value="随访完成">随访完成</option>                    <option value="已取消">	已取消</option>                    <option value="未成功">	未成功</option>                    <option value="随访中">随访中</option>                </select>            </div>            <div class="search-form">                <label class="search-label">计划随访时间</label>                <select class="search-control" kendo-drop-down-list k-on-change="onVisitDateTimeSelect(\'随访日期\')" ng-model="pageState.visitDateTimeType">                    <option value="0">全部</option>                    <option value="1">今日</option>                    <option value="2">明日</option>                    <option value="3">自定义</option>                </select>                <div style="display:inline-block;" ng-show="pageState.visitDateTimeType==\'3\'">                    <input type="text" class="search-control" kendo-date-picker ng-model="pageState.startDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width:120px;">                    <label>-</label>                    <input type="text" class="search-control" kendo-date-picker ng-model="pageState.endDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width:120px;">                </div>            </div>            <div class="search-form">                <label class="search-label">随访类型</label>                <input id="followup-category" type="text" class="search-control" ng-model="pageState.category">            </div>            <div class="search-form" ng-if="isShowOfficeDrop">                <office-selector-dropdown office-tree-type="0" selected-office-ids="selectedOfficeIds" enable-search="true"                                          show-icon="true"                                          checkbox="true"                                          on-hidden="onOfficeSelectorHidden(data)"                                          return-children="true"></office-selector-dropdown>            </div>            <div class="search-form">                <a ng-click="showOrHideAdvancedSearch()">高级筛选 <i class="iconfont" style="font-size:10px;" ng-class="pageState.advancedSearch?\'icon-xiangshangmorenguanbi\':\'icon-xiangxiazhankai\'"></i></a>                <button class="btn btn-primary" ares-slow-click="searchFollowups()" style="margin-left:20px;">查询</button>            </div>            <div class="pull-right">                <button type="button" class="btn btn-default" ares-authorize="followup.listExcel" ares-slow-click="exportFollowUp()" style="padding: 5px;">                    <span class="glyphicon glyphicon-export" aria-hidden="true"></span> 导出                </button>            </div>            <div class="advance-search" ng-show="pageState.advancedSearch">                <div class="search-form">                    <label>医生科室</label>                    <input id="followup-doctor-department" type="text" class="search-control department-dropdown" ng-model="pageState.department">                </div>                <div class="search-form">                    <label>随访医生</label>                    <input id="followup-doctor" type="text" class="search-control doctor-dropdown" ng-model="pageState.doctorId">                </div>                <div class="search-form">                    <label>随访人员</label>                    <input id="followup-provider" type="text" class="search-control provider-dropdown" ng-model="pageState.otherProviderId">                </div>                <div class="search-form">                    <label>随访项目</label>                    <input id="followup-subject" type="text" class="search-control" ng-model="pageState.subject">                </div>                <div class="search-form">                    <label>创建人</label>                    <input id="followup-creator" type="text" class="search-control" ng-model="pageState.creatorProviderId">                </div>                <div class="search-form">                    <label class="search-label">随访时间</label>                    <select class="search-control" kendo-drop-down-list ng-model="pageState.executeTimeType" k-on-change="onExecuteTimeSelect()">                        <option value="0">全部</option>                        <option value="1">今日</option>                        <option value="2">明日</option>                        <option value="3">自定义</option>                    </select>                    <div style="display:inline-block;" ng-show="pageState.executeTimeType==\'3\'">                        <input type="text" class="search-control" kendo-date-picker ng-model="pageState.executeStartDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width:120px;">                        <label>-</label>                        <input type="text" class="search-control" kendo-date-picker ng-model="pageState.executeEndDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width:120px;">                    </div>                </div>                <div class="search-form">                    <label>随访人</label>                    <input id="followup-executor" type="text" class="search-control provider-dropdown" ng-model="pageState.executorProviderId">                </div>                <div class="search-form">                    <label>满意度</label>                    <input type="text" id="followup-satisfaction" class="search-control" ng-model="pageState.satisfaction" />                </div>            </div>        </div>        <div class="followup-borwser-list"></div>        <div class="pager-action">            <div style="text-align: center;">                <div pagination total-items="totalCount"                     items-per-page="pageState.pageSize"                     ng-model="pageState.pageIndex" ng-change="searchFollowups()"                     max-size="15"                     first-text="第一页"                     previous-text="前一页"                     next-text="后一页"                     last-text="最后一页"                     rotate="true"                     class="pagination new-page-color" boundary-links="true" style="margin:0;"></div>                <ul class="pagination new-page-color" style="margin:0">                    <li class="disabled">                        <a style="padding: 0;padding-left: 5px;padding-right: 5px;">                            每页                            <input kendo-numeric-text-box k-min="1" k-max="50" k-ng-model="pageState.pageSize"                                   style="width:63px;" k-on-change="searchFollowups()"                                   k-options="{format: \'#\', decimals:0}" />                            条                        </a>                    </li>                </ul>                <ul class="pagination new-page-color" style="margin:0">                    <li class="disabled">                        <a>共{{totalCount}}条</a>                    </li>                </ul>            </div>        </div>    </div></div>');templateCache.put('/app/management/views/group-performance-charge-category-view.html','<div ares-clean-kendo class="handle-scroll-bar enyo">    <style scoped>        #doctorChargeCategoryReportList table {            table-layout: fixed;            width: 100% !important;        }        .group-performance-charge-category-browse {            margin: 10px auto;        }        .group-performance-charge-category-browse .form-search-group {            margin-bottom: 10px;        }        .group-performance-charge-category-browse .form-search-group label {            font-weight: normal;        }        .group-performance-charge-category-browse .category {            width: 150px;        }        .group-performance-charge-category-browse .category .k-dropdown .k-input, .inventory-form .k-dropdown .k-input, .inventory-form .k-dropdown .k-state-focused .k-input, .inventory-form .k-menu .k-popup {            color: #575D6A;        }        .group-performance-charge-category-browse .form-search-group .btn:hover, .inventory-product-browse .form-search-group .btn.active {            box-shadow: none;        }        .group-performance-charge-category-browse .group-tabs span {            display: inline-block;            border: 1px solid #d6d9df;            line-height: 32px;            text-align: center;            color: #9397a2;            cursor: pointer;            height: 34px;            padding: 0 10px;        }        .group-performance-charge-category-browse .group-tabs span:first-child {            border-right: none;        }        .group-performance-charge-category-browse .group-tabs span.active {            background-color: #00a6c9;            color: #fff;            border-color: #00a6c9;        }        .group-performance-charge-category-browse .single-line-text {            width: 100%;            overflow: hidden;            text-overflow: ellipsis;            white-space: nowrap;        }        .group-performance-charge-category-browse .k-grid .k-grid-content td{            white-space: nowrap;            text-overflow:ellipsis;        }        .lc-k-grid-no-scroll {            overflow: hidden;        }        .lc-k-grid .k-widget, .lc-k-grid .k-block, .lc-k-grid .k-inline-block, .lc-k-grid .k-draghandle {            border: none;        }        .enyo .k-grid .k-grid-header th.k-with-icon .k-link{            color: #fff;        }        .lc-k-grid .k-grid-header th {            font-weight: normal !important;            color: #fff;        }        .lc-k-grid .k-grid-header th.k-with-icon .k-link {            margin-right: 0;            margin-left: 0;            font-weight: normal !important;            color: #575D6A;        }        .lc-k-grid.lc-k-grid-no-scroll .k-grid-header {            padding-right: 0 !important;        }        .lc-k-grid div.k-grid-header, .lc-k-grid div.k-grid-footer {            border-bottom-width: 0;        }        .lc-k-grid .k-grid-content {            border: 1px solid #D6D9DF;            border-top: 0;        }        .lc-k-grid .k-grid-content-locked {            border-left: 0;            border-right: 0;        }        .lc-k-grid .k-grid-lockedcolumns .k-grid-header {            border-left: 0 !important;        }        .lc-k-grid .k-grid tr td {            border-width: 0 0 1px 0;            border-color: #D6D9DF;        }        .lc-k-grid .k-grid-content table, .lc-k-grid .k-grid>table {            border-bottom: none !important;        }        .lc-k-grid .k-grid-footer {            margin-top: 10px;        }        .lc-k-grid .k-grid-header th.k-header, .lc-k-grid .k-filter-row th {            border-width: 0;        }        .lc-k-grid .k-pager-wrap {            background-color: #fff;        }        .lc-k-grid .k-header>.k-grid-filter, .lc-k-grid .k-header>.k-header-column-menu {            padding: 0;            float: left;            margin: -0.7em -.6em -.4em -.45em;        }        .lc-k-grid .k-grid-header table tr th a:hover, .k-grid-header table tr th a:active, .k-grid-header table tr th a:focus {            text-decoration: none;        }        .lc-k-grid .k-grid-header table tr th a.k-header-column-menu {            display: none;        }        .lc-k-grid .k-grid-header table tr th:first-child a.k-header-column-menu {            display: block;        }        .lc-k-grid .k-i-arrowhead-s {            background: url("/Content/imgs/icon-col.png") no-repeat;            background-position: 0 0;        }        .lc-k-grid .k-i-arrowhead-s:before {            content: "\e603";        }        .lc-k-grid .k-grid-content table tbody tr:nth-child(2n), .lc-k-grid .k-grid-content-locked table tbody tr:nth-child(2n) {            background-color: #FBFBFC;        }        .lc-k-grid .k-grid-content table tbody tr.k-state-selected, .lc-k-grid .k-grid-content table tbody tr:hover, .lc-k-grid .k-grid-content-locked table tbody tr:hover {            background-color: #E0FAFF;            color: #333;        }        .lc-k-grid .k-grid-content tr.tr-hover, .lc-k-grid .k-grid-content-locked tr.tr-hover {            background-color: #E0FAFF !important;        }        .lc-k-grid .k-grid-content table tbody tr.k-state-selected a {            color: #00a6c9;        }        .lc-k-grid .k-grid-content table tbody tr td {            height: 49px;            padding: 0 .6em;            color: #575D6A;        }        .lc-k-grid .k-grid-content table tbody tr td .double-line-text {            display: -webkit-box;            -webkit-box-orient: vertical;            -webkit-line-clamp: 2;            overflow: hidden;            white-space: normal;        }        .lc-grid-text-location .k-grid-content table tbody tr td.cell-right {            text-align: right !important;            padding-right: 1em;        }        .lc-k-grid .k-grid-content table tbody tr td a {            color: #00a6c9;        }        .lc-grid-text-location .k-grid-header th.k-header.cell-left, .lc-grid-text-location .k-grid-header th.k-header.cell-left .k-link {            text-align: left !important;            font-weight: normal !important;        }        .lc-grid-text-location .k-grid-header th.k-header.cell-right, .lc-grid-text-location .k-grid-header th.k-header.cell-right .k-link {            text-align: right !important;        }        .lc-grid-text-location .k-grid-header th.k-header.cell-left .first-column-text {            margin-left: 8px;        }        .lc-k-grid .k-pager-numbers .k-state-selected {            background-color: #00a6c9;            border-color: #00a6c9;        }    </style>    <div class="group-performance-charge-category-browse ares-page-header clearfix">        <div class="form-inline">            <div class="form-group enyo-margin-right-5">                <div class="search-item col-sm-4 lc-search-date" style="width: auto;padding-left: 0; padding-right: 0;">                    <timer-range-picker time-range-date="timeSpan"></timer-range-picker>                </div>            </div>            <div class="form-group enyo-margin-right-20" style="width: 120px;">                <office-selector class="pull-left"                                 office-tree-data="officeTreeData"                                 select-mode="officeOnly"                                 selected-office-ids="selectedOfficeIds"                                 on-selected="onOfficeSelected(selectedOffices)" style="width: 120px"></office-selector>            </div>            <div class="form-group enyo-margin-right-10  enyo-margin-left-10" style="width: 100px;">                <div class="row">                    <input type="radio" class="enyo-radio" id="radio3" name="categoryType" ng-value="2" ng-model="selectSuperType">                    <label class="enyo-radio-label"  for="radio3">费用类型</label>                </div>            </div>            <div class="form-group enyo-margin-right-10" style="width: 50px;">                <div class="row">                    <input type="radio" class="enyo-radio" id="radio4" name="category" ng-value="true" ng-model="selectCategory" ng-disabled="!isEnabled">                    <label class="enyo-radio-label" for="radio4" style="line-height: 17px">医生</label>                </div>                <div class="row">                    <input type="radio" class="enyo-radio" id="radio5" name="category" ng-value="false" ng-model="selectCategory"  ng-disabled="!isEnabled">                    <label class="enyo-radio-label"  for="radio5"  style="line-height: 17px">科室</label>                </div>            </div>            <div class="form-group enyo-margin-right-20 enyo-margin-left-10" style="width: 150px;" ng-show="selectCategory">                <input id="provider" type="text" class="form-control" style="width: 150px;">            </div>            <div class="form-group enyo-margin-left-10" style="width: 180px;" ng-hide="selectCategory">                <input id="department" type="text" class="form-control" style="width: 180px;">            </div>            <div class="form-group enyo-margin-left-20  enyo-margin-right-10" style="width: 50px;">                <div class="row">                    <input type="radio" class="enyo-radio" id="radio6" name="priceType"  ng-value="1" ng-model="selectActualPrice">                    <label class="enyo-radio-label" for="radio6" style="line-height: 17px">实收</label>                </div>                <div class="row">                    <input type="radio" class="enyo-radio" id="radio7" name="priceType" ng-value="0" ng-model="selectActualPrice">                    <label class="enyo-radio-label"  for="radio7"  style="line-height: 17px">应收</label>                </div>            </div>            <div class="form-group">                <input type="button" class="lc-btn lc-btn-info" name="" value="查询"  ares-slow-click="search()">            </div>            <div class="form-group pull-right">                <button class="lc-btn lc-btn-excel" ng-show="isShowExcelBtn" ng-click="exportExcel()"><i class="iconfont icon-excel"></i><span>导出Excel</span></button>            </div>        </div>    </div>    <div class="lc-k-grid inventory-grid">        <div id="doctorChargeCategoryReportList" class="ares-grid"></div>    </div>    <div class="empty-list-hint" ng-show="dataSource.length == 0"         style="position: absolute;top: 50%; left: 50%; margin-left: -150px;">        <div style="margin-left: calc(50% - 150px); float: left;">            <i class="iconfont icon-jinggao" style="font-size: 110px; color: #f7a51d;"></i>        </div>        <div style="margin-left: 20px; height: 150px; float: left; display: flex; align-items: center;">            <div>                <div style="color:#575d6a;font-size: 18px;">抱歉，没有相关信息</div>            </div>        </div>    </div>    <div class="empty-list-hint" ng-show="!selectedOfficeIds && !dataSource"         style="position: absolute;top: 50%; left: 50%; margin-left: -150px;">        <div style="margin-left: calc(50% - 150px); float: left;">            <i class="iconfont icon-jinggao" style="font-size: 110px; color: #f7a51d;"></i>        </div>        <div style="margin-left: 20px; height: 150px; float: left; display: flex; align-items: center;">            <div>                <div style="color:#575d6a;font-size: 18px;">请选择诊所</div>            </div>        </div>    </div></div>');templateCache.put('/app/management/views/management-home-view.html','<div ui-view style="overflow-x:auto;"></div>');templateCache.put('/app/management/views/performance-charge-category-view.html','<div class="ares-main-content " ares-clean-kendo>    <style scoped>        #doctorChargeCategoryReportList table {            table-layout: fixed;            width: 100% !important;        }    </style>    <div class="control-panel">        <table>            <tr>                <!--<td style="width:250px"><h1 style="margin:0">医生收费大类</h1></td>-->                <!--<td style="width:80px">-->                    <!--<label class="radio-inline">-->                        <!--<input type="radio" name="dateType" ng-value="true" ng-model="defaultSelect">日查询-->                    <!--</label><br />-->                    <!--<label class="radio-inline">-->                        <!--<input type="radio" name="dateType" ng-value="false" ng-model="defaultSelect">月查询-->                    <!--</label>-->                <!--</td>-->                <td>                    <table>                        <tr>                            <timer-range-picker time-range-date="timeSpan"></timer-range-picker>                        </tr>                    </table>                </td>                <!--<td style="padding-left: 10px; padding-right: 5px;" ng-show="providers && providers.length > 0">                    {{jobName}}                </td>-->                <td style="width:90px;padding-left: 10px;">                    <label class="radio-inline">                        <input type="radio" name="categoryType" ng-value="0" ng-model="selectSuperType">大类                    </label><br />                    <label class="radio-inline">                        <input type="radio" name="categoryType" ng-value="1" ng-model="selectSuperType">小类                    </label><br />                    <label class="radio-inline" ng-show="isDoctor">                        <input type="radio" name="categoryType" ng-value="2" ng-model="selectSuperType">费用类型                    </label>                </td>                <td style="width:75px;padding-left: 10px;">                    <label class="radio-inline">                        <input type="radio" name="category" ng-value="true" ng-model="selectCategory">{{jobName}}                    </label><br />                    <label class="radio-inline">                        <input type="radio" name="category" ng-value="false" ng-model="selectCategory">科室                    </label>                </td>                <td style="width: 205px;padding-left: 5px; padding-right: 5px;" ng-show="selectCategory">                    <input id="provider" type="text" class="form-control">                </td>                <td style="width: 205px;padding-left: 5px; padding-right: 5px;" ng-hide="selectCategory">                    <input id="department" type="text" class="form-control">                </td>                <td style="width:70px;padding-left: 10px;">                    <label class="radio-inline">                        <input type="radio" name="priceType" ng-value="1" ng-model="selectActualPrice">实收                    </label><br />                    <label class="radio-inline">                        <input type="radio" name="priceType" ng-value="0" ng-model="selectActualPrice">应收                    </label>                    <!--<label class="radio-inline" style="margin-left:0px;">                        <input type="radio" name="priceType" ng-value="2" ng-model="selectActualPrice">绩效                    </label>-->                </td>                <td>                    <button type="button" class="btn btn-default" ares-slow-click="search()" style="margin-left:20px;">                        <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                    </button>                    <button type="button" class="btn btn-default" ares-slow-click="exportExcel()" ng-show="isShowExcelBtn" style="margin-left:15px;" ng-disabled="dataSource.length <= 0">                        <span class="glyphicon glyphicon-th" aria-hidden="true"></span> 导出Excel                    </button>                    <button type="button" class="btn btn-default" ng-click="print()" style="margin-left:15px;" ng-disabled="dataSource.length <= 0">                        <span class="glyphicon glyphicon-print" aria-hidden="true"></span> 打印                    </button>                </td>            </tr>        </table>    </div>    <div style="margin-top:2px;">        <div id="doctorChargeCategoryReportList" style="overflow-x:auto;"></div>        <div style="display:none;">            <div id="hiddenPrintGrid"></div>        </div>        <table style="width:100%;" ng-show="dataSource && dataSource.length > 0">            <tr>                <td ng-hide="showOverflowWarning" >分摊规则：按照支付方式的金额占比分摊至各个收费项目</td>                <td ng-show="showOverflowWarning" style="color: red;">警告：收费项目数量超过统计最大限制，当前结果只汇总统计前80000条数据</td>                <td style="text-align:right;">总记录数:{{count}}</td>            </tr>        </table>        <div ng-hide="dataSource && dataSource.length > 0"><h2>没有查询到数据!</h2></div>    </div></div>');templateCache.put('/app/management/views/performance-charge-class-view.html','<div class="ares-main-content" ares-clean-kendo>    <div>        <table>            <tr>                <!--<td style="width:250px"><h1 style="margin:0">医生收费大类</h1></td>-->                <td style="padding-left: 5px; padding-right: 5px;">从</td>                <td style="width: 130px">                    <input id="startDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.startDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;">                </td>                <td style="padding-left: 5px; padding-right: 5px;">到</td>                <td style="width: 130px; ">                    <input id="endDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.endDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px; ">                </td>                <td>                    <button type="button" class="btn btn-default" ares-slow-click="search()" style="margin-left:20px;">                        <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                    </button>                    <button type="button" class="btn btn-default" ares-slow-click="exportExcel()" style="margin-left:15px;">                        导出Excel                    </button>                </td>            </tr>        </table>    </div>    <div style="margin-top:10px;">        <div id="doctorChargeClassReportList" style="overflow-x:auto;"></div>    </div>    <div style="margin-top:10px;">        <div id="doctorChargeCategoryReportList" style="overflow-x:auto;"></div>    </div></div>');templateCache.put('/app/management/views/performance-charge-detail-view.html','<div class="ares-main-content" ares-clean-kendo>    <div class="control-panel">        <table>            <tr>                <!--<td style="width:120px"><h1 style="margin:0">医生收费明细</h1></td>-->                <td style="width:70px">                    <label class="radio-inline">                        <input type="radio" name="dateType" ng-value="true" ng-model="defaultSelect">日查询                    </label><br />                    <label class="radio-inline">                        <input type="radio" name="dateType" ng-value="false" ng-model="defaultSelect">月查询                    </label>                </td>                <td>                    <table>                        <tr>                            <td style="width: 200px" ng-show="defaultSelect">                                <input id="startDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.startTime" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 200px;">                            </td>                            <td style="width: 130px" ng-hide="defaultSelect">                                <input id="startTimePicker" type="text" class="form-control" kendo-date-time-picker k-ng-model="timeSpan.startTime" k-format="\'yyyy-MM-dd HH:mm\'" k-culture="zh-CN" style="width: 190px;">                            </td>                            <td style="padding-left: 5px; padding-right: 5px;" ng-hide="defaultSelect">-</td>                            <td style="width: 130px; " ng-hide="defaultSelect">                                <input id="endTimePicker" type="text" class="form-control" kendo-date-time-picker k-ng-model="timeSpan.endTime" k-format="\'yyyy-MM-dd HH:mm\'" k-culture="zh-CN" style="width: 190px; ">                            </td>                        </tr>                    </table>                </td>                <td style="padding-left: 10px; padding-right: 5px; width:80px;">收费项目</td>                <td style="width: 130px; ">                    <input type="text" class="form-control" ng-model="chargeItemNames" ng-readonly="true" ng-click="openDialog()">                </td>            </tr>            <tr>                <!--<td style="padding-left: 10px;" ng-show="providers && providers.length > 0">                    {{jobName}}                </td>-->                <td style="width:70px;">                    <label class="radio-inline">                        <input type="radio" name="category" ng-value="true" ng-model="selectCategory">{{jobName}}                    </label><br />                    <label class="radio-inline">                        <input type="radio" name="category" ng-value="false" ng-model="selectCategory">科室                    </label>                </td>                <td style="width: 205px;" ng-show="selectCategory">                    <select id="provider" multiple="multiple" class="form-control" />                </td>                <td style="width: 205px;" ng-hide="selectCategory">                    <select id="department" multiple="multiple" class="form-control" />                </td>                <td style="width: 70px; padding-left: 10px; padding-right: 5px;">                    <label class="radio-inline">                        <input type="radio" name="priceType" ng-value="1" ng-model="selectActualPrice">实收                    </label><br />                    <label class="radio-inline">                        <input type="radio" name="priceType" ng-value="0" ng-model="selectActualPrice">应收                    </label>                    <!--<label class="radio-inline" style="margin-left:0px;">                        <input type="radio" name="priceType" ng-value="2" ng-model="selectActualPrice">绩效                    </label>-->                </td>                <td style="width:300px">                    <button type="button" class="btn btn-default" ares-slow-click="search()">                        <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                    </button>                    <button type="button" class="btn btn-default" ares-slow-click="exportExcel()" ng-show="isShowExcelBtn" style="margin-left:10px;" ng-disabled="pageData.length <= 0">                        <span class="glyphicon glyphicon-th" aria-hidden="true"></span> 导出Excel                    </button>                    <button type="button" class="btn btn-default" ng-click="print()" style="margin-left:10px;" ng-disabled="pageData.length <= 0">                        <span class="glyphicon glyphicon-print" aria-hidden="true"></span> 打印                    </button>                </td>            </tr>        </table>    </div>    <div style="margin-top:2px;">        <div id="doctorChargeDetailReportList"></div>        <table style="width:100%;" ng-show="pageData && pageData.length > 0">            <tr>                <td ng-hide="showOverflowWarning">注: 1.此报表适用于处置收费，明细收费和跨科收费 2.分摊规则：按照支付方式的金额占比分摊至各个收费项目</td>                <td ng-show="showOverflowWarning" style="color: red;">警告：收费项目数量超过统计最大限制，当前结果只汇总统计前80000条数据</td>                <td style="text-align:right;">总记录数:{{count}}</td>            </tr>        </table>        <div ng-hide="pageData && pageData.length > 0"><h2>没有查询到数据!</h2></div>    </div></div>');templateCache.put('/app/management/views/performance-doctor-appt-view.html','<div class="ares-main-content" ares-clean-kendo>    <div class="control-panel">        <table>            <tr>                <!--<td style="width:200px"><h1 style="margin:0">医生就诊人次</h1></td>-->                <td style="width:80px">                    <label class="radio-inline">                        <input type="radio" name="dateType" ng-value="true" ng-model="defaultSelect">日查询                    </label><br />                    <label class="radio-inline">                        <input type="radio" name="dateType" ng-value="false" ng-model="defaultSelect">月查询                    </label>                </td>                <td>                    <table>                        <tr>                            <td style="width: 130px" ng-show="defaultSelect">                                <input id="startDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.startTime" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;">                            </td>                            <td style="width: 190px" ng-hide="defaultSelect">                                <input id="startTimePicker" type="text" class="form-control" kendo-date-time-picker k-ng-model="timeSpan.startTime" k-format="\'yyyy-MM-dd HH:mm\'" k-culture="zh-CN" style="width: 190px;">                            </td>                            <td style="padding-left: 5px; padding-right: 5px;" ng-hide="defaultSelect">-</td>                            <td style="width: 190px; " ng-hide="defaultSelect">                                <input id="endTimePicker" type="text" class="form-control" kendo-date-time-picker k-ng-model="timeSpan.endTime" k-format="\'yyyy-MM-dd HH:mm\'" k-culture="zh-CN" style="width: 190px; ">                            </td>                        </tr>                    </table>                </td>                <td style="padding-left: 10px; padding-right: 5px;">                    医生                </td>                <td style="width: 255px;padding-left: 5px; padding-right: 5px;">                    <input id="doctor" type="text" class="form-control">                </td>                <td style="width:70px;padding-left: 10px;">                    <label class="radio-inline">                        <input type="radio" name="priceType" ng-value="1" ng-model="selectActualPrice">实收                    </label><br />                    <label class="radio-inline">                        <input type="radio" name="priceType" ng-value="0" ng-model="selectActualPrice">应收                    </label>                    <label class="radio-inline" style="margin-left:0px;">                        <input type="radio" name="priceType" ng-value="2" ng-model="selectActualPrice">绩效                    </label>                </td>                <td>                    <button type="button" class="btn btn-default" ares-slow-click="search()" style="margin-left:20px;">                        <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                    </button>                    <button type="button" class="btn btn-default" ares-slow-click="exportExcel()" ares-authorize="performance.doctorVisitsExcel" style="margin-left:20px;">                        导出Excel                    </button>                </td>            </tr>        </table>    </div>    <div style="margin-top:2px;">        <div id="doctorApptCountReportList"></div>        <table style="width:100%;">            <tr>                <td style="text-align:left;">总记录数:{{pageData.length}}</td>            </tr>        </table>    </div></div>');templateCache.put('/app/management/views/performance-home-view.html','<div style="position:relative;">    <new-report-upgrade-guide-view></new-report-upgrade-guide-view>    <ares-tab states="states" commands="commands"></ares-tab></div>');templateCache.put('/app/management/views/performance-network-consult-view.html','<div class="network-consult-management-page-wrap" ares-clean-kendo>    <style>        .network-consult-management-page-wrap .page-search-conds-wrap .search-date-time-conds {            padding-bottom: 5px;            min-width: 240px;            vertical-align: middle;            display: inline-block;        }        .network-consult-management-page-wrap .page-search-conds-wrap .search-other-conds {            padding-bottom: 5px;            vertical-align: middle;            display: inline-block;        }        .network-consult-management-page-wrap .page-search-conds-wrap .search-cond-item {            display: inline-block;            vertical-align: middle;            margin-left: 10px;        }        .network-consult-management-page-wrap .page-search-conds-wrap .search-cond-item-title {            min-width: 40px;            font-size: 13px;            color: #abadaf;            margin-left: 10px;            display: inline-block;            vertical-align: middle;        }        .network-consult-management-page-wrap .page-search-conds-wrap .search-cond-item-content {            display: inline-block;            vertical-align: middle;        }        .network-consult-management-page-wrap .page-search-conds-wrap .search-other-conds .search-cond-item {            width: 170px;            border-right: 1px #e6e4e1 solid;            margin-left: 0;        }        .network-consult-management-page-wrap .page-search-conds-wrap .btn-selected {            background: #e3e3e3;            box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);        }        .network-consult-management-page-wrap .consult-page-list-wrap th,        .network-consult-management-page-wrap .consult-page-list-wrap td {            text-align: center;            word-break: break-all;            word-wrap: break-word;        }        .network-consult-management-page-wrap .search-date-time-conds .btn-selected {            background: #e3e3e3;            box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);        }        .network-consult-management-page-wrap .consult-page-list-wrap .action-icon-btn {            width: 20px;            height: 20px;            display: inline-block;            vertical-align: middle;        }        #list-body tr:hover {            background-color: #ebfcff;        }        .column-template-default-style {            color: #00A6C9;            cursor: pointer;        }        #networkConsultList .patient-count {            color:#00A6C9;        }        #networkConsultList .app-pre-count {            color:#00A6C9;        }        #networkConsultList .app-count {            color:#00A6C9;        }        #networkConsultList .actual-price {            color:#00A6C9;        }         #networkConsultList tr.k-state-selected .patient-count {            color:#fff;        }        #networkConsultList  tr.k-state-selected .app-pre-count {            color:#fff;        }        #networkConsultList  tr.k-state-selected .app-count {            color:#fff;        }        #networkConsultList  tr.k-state-selected .actual-price {            color:#fff;        }    </style>        <div class="control-panel">        <table>            <tr>                <td>                    <timer-range-picker time-range-date="timeSpan" on-changed="search"></timer-range-picker>                </td>                <!--<td>-->                    <!--<div class="search-date-time-conds">-->                        <!--<div class="btn-group" role="group">-->                            <!--<button class="btn btn-default" ng-class="{\'btn-selected\':selectDate == \'all\'}" ng-click="switchDate(\'all\')">全部</button>-->                            <!--<button class="btn btn-default" ng-class="{\'btn-selected\':selectDate == \'day\'}" ng-click="switchDate(\'day\')">日</button>-->                            <!--<button class="btn btn-default" ng-class="{\'btn-selected\':selectDate == \'week\'}" ng-click="switchDate(\'week\')">周</button>-->                            <!--<button class="btn btn-default" ng-class="{\'btn-selected\':selectDate == \'month\'}" ng-click="switchDate(\'month\')">月</button>-->                            <!--<button class="btn btn-default" ng-class="{\'btn-selected\':selectDate == \'custom\'}" ng-click="switchDate(\'custom\')">自定义</button>-->                        <!--</div>-->                        <!--<div class="btn-group search-cond-item"-->                             <!--ng-if="selectDate == \'custom\' || selectDate == \'month\'|| selectDate == \'week\'">-->                            <!--<input id="startDatePicker" type="text" class="form-control"-->                                   <!--kendo-date-picker k-ng-model="timeSpan.startDate" k-format="\'yyyy-MM-dd\'"-->                                   <!--k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;"-->                                   <!--ng-disabled="selectDate == \'month\'||selectDate == \'day\'|| selectDate == \'week\'"-->                                   <!--k-on-change="search()">-->                            <!-- - -->                            <!--<input id="endDatePicker" type="text" class="form-control"-->                                   <!--kendo-date-picker k-ng-model="timeSpan.endDate" k-format="\'yyyy-MM-dd\'"-->                                   <!--k-parse-formats="[\'yyyyMMdd\']" style="width: 130px; "-->                                   <!--ng-disabled="selectDate == \'month\'||selectDate == \'day\'|| selectDate == \'week\'"-->                                   <!--k-on-change="search()">-->                        <!--</div>-->                        <!--<div class="btn-group search-cond-item" ng-if="selectDate == \'day\'">-->                            <!--<input id="startDatePicker" type="text" class="form-control"-->                                   <!--kendo-date-picker k-ng-model="timeSpan.startDate" k-format="\'yyyy-MM-dd\'"-->                                   <!--k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;"-->                                   <!--ng-disabled="selectDate == \'day\'">-->                        <!--</div>-->                        <!--<div class="btn-group search-cond-item" ng-if="selectDate == \'month\'||selectDate == \'day\'|| selectDate == \'week\'">-->                            <!--<button class="btn btn-default" ng-click="updateDate(\'previous\')">-->                                <!--<span class="glyphicon glyphicon-triangle-left"></span>-->                            <!--</button>-->                            <!--<button class="btn btn-default" ng-click="updateDate(\'next\')">-->                                <!--<span class="glyphicon glyphicon-triangle-right"></span>-->                            <!--</button>-->                        <!--</div>-->                    <!--</div>-->                <!--</td>-->                <td style="width: 18px;"></td>                <td style="width:260px; border-right: 1px #e6e4e1 solid;">                    <input class="form-control inputsearchtext" ng-model="searchText" placeholder="员工姓名/拼首码/工号" ng-blur="search()" ng-keyup="searchInputKeyup($event)" style="width: 170px;" />                </td>                <td>                    <button class="btn btn-default" ares-slow-click="search()" style="margin:0 15px;">                        <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                    </button>                </td>                <td ng-if="isAllowExportConsults" style="border-left: 1px #e6e4e1 solid ">                    <button class="btn btn-default" ares-slow-click="exportExcel()" style="margin-left:15px;">                        导出Excel                    </button>                </td>            </tr>        </table>    </div>    <div style="margin-top: 5px;">        <div id="networkConsultList"></div>    </div></div>');templateCache.put('/app/management/views/schedule-doctor-view.html','<div class="ares-main-content" ares-clean-kendo>    <style scoped>        .test {            background-image: url("images/warning.png");            background-repeat: no-repeat;        }        .rule-legend-container {            position: absolute;            width: 100%;            height: 20px;            padding: 2px 10px;            bottom: 3px;            border-top: solid 1px lightgray;        }            .rule-legend-container .control-label {                font-weight: normal;                font-size: 15px;                vertical-align: middle;                margin-bottom: 10px;                margin-left: 2px;            }        .rule-legend {            display: inline-block;            margin-right: 5px;        }        .rule-legend-icon {            width: 10px;            height: 10px;            margin-bottom: 3px;            display: inline-block;        }        .k-tooltip {            background-color: rgb(137, 245, 243) !important;            color: black !important;            width: 180px;            height: 120px;            opacity: 0.85 !important;        }    </style>    <div style="padding-bottom:5px;margin-left:0px;padding-left:0px;">        <table>            <tr>                <td>                    <button type="button" class="btn btn-default no-outline" ng-click="navigate(-7)" title="上一周"><span class="glyphicon glyphicon-triangle-left" aria-hidden="true"></span></button>                </td>                <td>                    <input kendo-date-picker                           id="weekSelect"                           ng-model="searchCriteria.selectDate"                           k-on-change="scheduleWeekChange()"                           style="width: 100%;" />                </td>                <td>                    <button type="button" class="btn btn-default no-outline" ng-click="navigate(7)" title="下一周"><span class="glyphicon glyphicon-triangle-right" aria-hidden="true"></span></button>                </td>                <td style="width:50px;"></td>                <td style="padding-right:20px;padding-left:5px;text-align:right;" ng-show="showDepartment">科室</td>                <td ng-show="showDepartment">                    <input id="department" type="text" class="form-control" style="width:150px;">                </td>                <td ng-repeat="detail in ruleDetailList" style="padding-left: 2px; padding-right: 2px; ">                    <a class="btn btn-default" ng-click="setRuleDetail(detail)">                        {{detail.name}}                    </a>                </td>                <td style="padding-left: 2px; padding-right: 2px; ">                    <a class="btn btn-primary" ng-click="removeRuleDetail()">                        撤销                    </a>                </td>                <td style="padding-left: 2px; padding-right: 2px; ">                    <a class="btn btn-primary" ng-click="copyLastWeekRuleDetail()">                        复制上周排班                    </a>                </td>                <td style="padding-left: 2px; padding-right: 2px; ">                    <a class="btn btn-primary" ng-click="exportExcel()">                        导出excel                    </a>                </td>            </tr>        </table>    </div>    <div id="scheduleList" style="overflow-y: auto;">    </div>    <!--<div class="rule-legend-container">        <div class="pull-right">            <div class="rule-legend">                <div><div class="rule-legend-icon" /><label class="control-label">早班</label></div>            </div>        </div>    </div>--></div>');templateCache.put('/app/management/views/schedule-home-view.html','<ares-tab states="states" root-state="schedule"></ares-tab>');templateCache.put('/app/management/views/schedule-rulesetting-dialog.html','<div ares-modal-dragable id="scheduleRuleSettingDlg" ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">排班规则</h4>    </div>    <div class="modal-body ares-dialog-body">        <form name="ruleSettingForm" novalidate class="form-horizontal">            <div class="form-group">                <label for="ruleName" class="col-xs-3 control-label">班次名称:</label>                <input class="form-control" ng-model="currentRuleDetail.name" required style="width:260px;" />            </div>            <div class="form-group">                <label for="startTime" class="col-xs-3 control-label">上班时间:</label>                <input kendo-time-picker ng-model="currentRuleDetail.startTime"                       k-interval="10"                       style="width: 260px;" />            </div>            <div class="form-group">                <label for="pastHistory" class="col-xs-3 control-label">下班时间:</label>                <input kendo-time-picker ng-model="currentRuleDetail.endTime"                       k-interval="10"                       style="width: 260px;" />            </div>            <div class="form-group">                <label for="pastHistory" class="col-xs-3 control-label">标示颜色:</label>                <div id="palette"></div>                <!--<input kendo-color-picker="" k-palette= \'[ "#FFD9D9","#FFC2C2","#FFAAAA","#FF7C7C","#FFE1BE","#FFCD93",                       "#FFBF75","#FFAF51","#ACFDCE","#62EC9B","#A8F4E3","#62E3C6","#BEE3FF","#8DCEFF","#E5E2FF",                       "#FFF0A3","#FFE663","#E7FFB3","#D7FF81" ]\' k-tileSize=\'100\'  ng-model="currentRuleDetail.scheduleColor" style="width:260px;" />-->            </div>        </form>    </div>    <div class="modal-footer ares-dialog-footer">        <button type="button" class="btn btn-default" ng-click="cancel()">取消</button>        <button type="button" class="btn btn-primary" ng-click="ok()" ng-disabled="ruleSettingForm.$invalid">保存</button>    </div></div>');templateCache.put('/app/management/views/schedule-rulesetting-view.html','<div class="ares-main-content" ares-clean-kendo>    <div style="padding-bottom:5px;margin-left:0px;padding-left:0px;">        <table>            <tr>                <td style="width: 100px; padding-left: 10px; padding-right: 10px; ">                    <a class="btn btn-default" ng-click="createRuleDetail()">                        <i class="fa fa-plus"></i> 新建班次                    </a>                </td>            </tr>        </table>    </div>    <div id="ruleDetailList">    </div>    <notification-upload-success></notification-upload-success></div>');templateCache.put('/app/management/views/schedule-tenant-view.html','<div class="ares-main-content" ares-clean-kendo>    <style scoped>        .test {            background-image: url("../../../Content/imgs/warning.png");            background-repeat: no-repeat;        }        .rule-legend-container {            position: absolute;            width: 100%;            height: 20px;            padding: 2px 10px;            bottom: 3px;            border-top: solid 1px lightgray;        }            .rule-legend-container .control-label {                font-weight: normal;                font-size: 15px;                vertical-align: middle;                margin-bottom: 10px;                margin-left: 2px;            }        .rule-legend {            display: inline-block;            margin-right: 5px;        }        .rule-legend-icon {            width: 10px;            height: 10px;            margin-bottom: 3px;            display: inline-block;        }        .k-tooltip {            background-color: rgb(137, 245, 243) !important;            color: black !important;            width: 180px;            height: 120px;            opacity: 0.85 !important;        }    </style>    <div style="padding-bottom:5px;margin-left:0px;padding-left:0px;">        <table>            <tr>                <td>                    <button type="button" class="btn btn-default no-outline" ng-click="navigate(-7)" title="上一周"><span class="glyphicon glyphicon-triangle-left" aria-hidden="true"></span></button>                </td>                <td>                    <input kendo-date-picker                           id="weekSelect"                           ng-model="searchCriteria.selectDate"                           k-on-change="scheduleWeekChange()"                           style="width: 100%;" />                </td>                <td>                    <button type="button" class="btn btn-default no-outline" ng-click="navigate(7)" title="下一周"><span class="glyphicon glyphicon-triangle-right" aria-hidden="true"></span></button>                </td>                <td style="padding-left: 2px; padding-right: 2px; ">                    <a class="btn btn-primary" ng-click="exportExcel()">                        导出excel                    </a>                </td>            </tr>        </table>    </div>    <div id="scheduleList">    </div>    <!--<div class="rule-legend-container">        <div class="pull-right">            <div class="rule-legend">                <div><div class="rule-legend-icon" /><label class="control-label">早班</label></div>            </div>        </div>    </div>--></div>');templateCache.put('/app/management/views/complaint/complaint-home-view.html','<ares-tab states="states" commands="commands"></ares-tab>');templateCache.put('/app/management/views/complaint/complaint-list-view.html','<div class="complaint-list-view enyo" ares-clean-kendo>    <style scoped>        .complaint-list-view .k-grid td {            text-align: left;        }        .complaint-list-view .k-grid .k-grid-content .cell-center {            text-align: center;        }        .complaint-list-view .k-grid .k-grid-content td .btn-group button {            border: none;            color: #00a6c9;            background: transparent;        }        .complaint-list-view .complaint-list-search .search-item .k-input {            box-shadow: none;        }        .complaint-list-view .complaint-list-search .search-item button.btn {            margin-left: 10px;            height: 32px;        }        .complaint-list-view .complaint-list-grid {            min-height: 300px;        }        .complaint-list-view .complaint-status-1,        .complaint-list-view .complaint-status-2 {            color: #F7871D;        }        .complaint-list-view .complaint-status-3 {            color: #2DCB73;        }        .complaint-list-view .edit-button {            cursor: pointer;        }        .complaint-list-view .complaint-list-grid .k-grid-content td span.label {            margin-left: 5px;        }    </style>    <div class="complaint-list-search clearfix">        <div class="search-item pull-left">            <input id="timeStatus" class="form-control" style="width: 100px;" />        </div>        <div class="search-item pull-left" style="margin-right:5px;border-left:none;">            <timer-range-picker time-range-date="timeSpan" on-changed="onDateRangeChanged"             is-disable-huge-time="true" is-show-interval="true"></timer-range-picker>        </div>        <div class="search-item pull-left">            <input id="providerType" class="form-control" style="width: 100px;" />        </div>        <div class="search-item pull-left" style="margin-right:5px;">            <input id="provider" class="form-control" style="width: 120px;" />        </div>        <div class="search-item pull-left" style="margin-right:5px;">            <input id="complaintState" class="form-control" style="width: 120px;" />        </div>        <div class="search-item pull-left" style="margin-right:5px;">            <input id="category" class="form-control" style="width: 120px;" />        </div>        <div class="search-item pull-left" style="margin-right:5px;">            <input id="severity" class="form-control" style="width: 120px;" />        </div>        <div class="search-item pull-left" style="margin-right:5px;">            <input id="satisfaction" class="form-control" style="width: 120px;" />        </div>        <div class="search-item pull-left">            <button type="button" class="btn btn-primary" ng-click="search()">查询</button>            <button type="button" class="btn btn-default" ng-click="refresh()" style="margin-left:0;">清空</button>        </div>    </div>    <div class="ares-lc-k-grid" style="margin-top:10px;">        <div class="complaint-list-grid" id="complaintListGrid">        </div>        <div class="table-footer lc-table-footer">            <div pagination total-items="pageData.totalCount" items-per-page="pageData.pageSize" ng-model="pageIndex" ng-change="onPageChanged(pageIndex)" max-size="10" first-text="第一页" previous-text="前一页" next-text="后一页" last-text="最后一页" rotate="true" class="pagination new-page-color"              boundary-links="true" style="margin:0;"></div>            <ul class="pagination new-page-color pagination-to-page" style="margin:0">                <li class="disabled">                    <a style="padding: 0;padding-left: 5px;padding-right: 5px;">                        每页                        <input kendo-numeric-text-box k-min="1" k-max="50" k-ng-model="pageSize" style="width:63px;" k-on-change="onPageSizeChanged(pageSize)" k-options="{format: \'#\', decimals:0}" />                        条                    </a>                </li>            </ul>            <ul class="pagination" style="margin:0">                <li class="disabled"><a>共{{pageData.totalCount}}条</a></li>            </ul>        </div>    </div></div>');templateCache.put('/app/management/views/consult/consult-home-view.html','<div class="workflow-management-nav" ares-clean-kendo>    <ares-tab states="states" root-state="consultCenter" class="workflow-tab"></ares-tab></div>');templateCache.put('/app/management/views/consult/consult-intention-edit-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">修改配置</h4>    </div>    <div class="modal-body ares-dialog-body" style="border-left:0px;border-right:0px">        <form name="ruleSettingForm" id="ruleSettingForm" novalidate class="form-horizontal" style="margin-left:15px">            <div class="form-group">                <label class="col-sm-4 control-label">名称</label>                <div class="col-sm-7">                    <input class="form-control" name="itemName" ng-model="currentSystemItem.itemName" />                </div>            </div>        </form>    </div>    <div class="modal-footer ares-dialog-footer" style="border-left: 0px; border-right: 0px ; ">        <button class="btn btn-primary" ng-click="validAndSave()">保存</button>        <button class="btn btn-primary" ng-click="cancel()">关闭</button>    </div></div>');templateCache.put('/app/management/views/consult/consult-intention-view.html','<div class="ares-main-content" ares-clean-kendo>    <div style="margin-top:10px;">        <div class="form-group" style="padding-left:10px; margin-top:10px" ares-hide-if-not-root>            <button type="button" class="btn btn-default" ng-click="edit(\'add\')">                <span class="glyphicon glyphicon-plus-sign" aria-hidden="true"></span> 新增            </button>            <button type="button" class="btn btn-default" ng-click="edit(\'edit\')" ng-disabled="selectedItem == null || selectedItem.isDefault">                <span class="glyphicon glyphicon-edit" aria-hidden="true"></span> 修改            </button>            <button type="button" class="btn btn-default" ng-click="destroy()" ng-disabled="selectedItem == null || selectedItem.isDefault">                <span class="glyphicon glyphicon-minus-sign" aria-hidden="true"></span> 删除            </button>        </div>        <div id="consultIntentionList" style="width:400px;">        </div>    </div></div>');templateCache.put('/app/management/views/consult/consult-list-view.html','<div class="consult-management-page-wrap" ares-clean-kendo>    <style>        .consult-management-page-wrap .page-search-conds-wrap .search-date-time-conds {            padding-bottom: 5px;            min-width: 240px;            vertical-align: middle;            display: inline-block;        }        .consult-management-page-wrap .page-search-conds-wrap .search-other-conds {            padding-bottom: 5px;            vertical-align: middle;            display: inline-block;        }        .consult-management-page-wrap .page-search-conds-wrap .search-cond-item {            display: inline-block;            vertical-align: middle;            margin-left: 10px;        }        .consult-management-page-wrap .page-search-conds-wrap .search-cond-item-title {            min-width: 40px;            font-size: 13px;            color: #abadaf;            margin-left: 10px;            display: inline-block;            vertical-align: middle;        }        .consult-management-page-wrap .page-search-conds-wrap .search-cond-item-content {            display: inline-block;            vertical-align: middle;        }        .consult-management-page-wrap .page-search-conds-wrap .search-other-conds .search-cond-item {            width: 170px;            border-right: 1px #e6e4e1 solid;            margin-left: 0;        }        .consult-management-page-wrap .page-search-conds-wrap .btn-selected {            background: #e3e3e3;            box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);        }        .consult-management-page-wrap .consult-page-list-wrap th,        .consult-management-page-wrap .consult-page-list-wrap td {            text-align: center;            word-break: break-all;            word-wrap: break-word;        }        .consult-management-page-wrap .search-date-time-conds .btn-selected {            background: #e3e3e3;            box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);        }        .consult-management-page-wrap .consult-page-list-wrap .action-icon-btn {            width: 20px;            height: 20px;            display: inline-block;            vertical-align: middle;        }        #list-body tr:hover {            background-color: #ebfcff;        }        #list-body .consult-content {            overflow: hidden;            text-overflow: ellipsis;            display: -webkit-box;            -webkit-line-clamp: 2;            -webkit-box-orient: vertical;        }    </style>    <div class="control-panel">        <table>            <tr>                <td>                    <div class="search-date-time-conds">                        <div class="btn-group" role="group">                            <!--<button class="btn btn-default" sensors-enabled="true" sensors-event-name="consultList" sensors-event-type="全部" ng-class="{\'btn-selected\':selectDate == \'all\'}" ng-click="switchDate(\'all\')">全部</button>-->                            <button class="btn btn-default" sensors-enabled="true" sensors-event-name="consultList" sensors-event-type="日" ng-class="{\'btn-selected\':selectDate == \'day\'}" ng-click="switchDate(\'day\')">日</button>                            <button class="btn btn-default" sensors-enabled="true" sensors-event-name="consultList" sensors-event-type="周" ng-class="{\'btn-selected\':selectDate == \'week\'}" ng-click="switchDate(\'week\')">周</button>                            <button class="btn btn-default" sensors-enabled="true" sensors-event-name="consultList" sensors-event-type="月" ng-class="{\'btn-selected\':selectDate == \'month\'}" ng-click="switchDate(\'month\')">月</button>                            <button class="btn btn-default" sensors-enabled="true" sensors-event-name="consultList" sensors-event-type="自定义" ng-class="{\'btn-selected\':selectDate == \'custom\'}" ng-click="switchDate(\'custom\')">自定义</button>                        </div>                        <div class="btn-group search-cond-item"                             ng-if="selectDate == \'custom\' || selectDate == \'month\'|| selectDate == \'week\'">                            <input id="startDatePicker" type="text" class="form-control"                                   kendo-date-picker k-ng-model="timeSpan.startDate" k-format="\'yyyy-MM-dd\'"                                   k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;"                                   ng-disabled="selectDate == \'month\'||selectDate == \'day\'|| selectDate == \'week\'"                                   k-on-change="searchConsultPagedList()">                            -                            <input id="endDatePicker" type="text" class="form-control"                                   kendo-date-picker k-ng-model="timeSpan.endDate" k-format="\'yyyy-MM-dd\'"                                   k-parse-formats="[\'yyyyMMdd\']" style="width: 130px; "                                   ng-disabled="selectDate == \'month\'||selectDate == \'day\'|| selectDate == \'week\'"                                   k-on-change="searchConsultPagedList()">                        </div>                        <div class="btn-group search-cond-item" ng-if="selectDate == \'day\'">                            <input id="startDatePicker" type="text" class="form-control"                                   kendo-date-picker k-ng-model="timeSpan.startDate" k-format="\'yyyy-MM-dd\'"                                   k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;"                                   ng-disabled="selectDate == \'day\'">                        </div>                        <div class="btn-group search-cond-item" ng-if="selectDate == \'month\'||selectDate == \'day\'|| selectDate == \'week\'">                            <button class="btn btn-default" sensors-enabled="true" sensors-event-name="consultList" sensors-event-type="导入商城物品" ng-click="updateDate(\'previous\')">                                <span class="glyphicon glyphicon-triangle-left"></span>                            </button>                            <button class="btn btn-default" sensors-enabled="true" sensors-event-name="consultList" sensors-event-type="导入商城物品" ng-click="updateDate(\'next\')">                                <span class="glyphicon glyphicon-triangle-right"></span>                            </button>                        </div>                    </div>                </td>                <td style="padding-left: 10px; padding-right: 10px;">                    <span style="font-size: 13px;color: #abadaf;">                        充值金额                    </span>                </td>                <td>                    <input id="minAmount" style="width:100px;" kendo-numeric-text-box                           k-min="0" k-step="10" k-options="{format: \'#\', decimals:0}"                           k-ng-model="searchCriteria.minChargedAmount" />                    <label> - </label>                    <input id="maxAmount" style="width:100px;" kendo-numeric-text-box                           k-min="0" k-step="10" k-options="{format: \'#\', decimals:0}"                           k-ng-model="searchCriteria.maxChargedAmount" />                </td>                <td style="padding-left: 10px; padding-right:5px; width:90px; ">自定义标签</td>                <td style="width: 130px;">                    <input type="text" class="form-control" ng-model="privateTag" style="width: 180px">                </td>            </tr>        </table>        <table style="margin-top:5px;margin-bottom:5px;">            <tr>                <td style="width:205px;" ng-if="isAlloweViewAllConsults">                    <span style="font-size: 13px;color: #abadaf;">咨询师：</span>                    <div class="btn-group">                        <input id="consultantInput" type="text" class="form-control" style="width:130px">                    </div>                </td>                <td style="width:220px;">                    <span style="font-size: 13px;color: #abadaf;margin-left:5px;">成交意愿：</span>                    <div class="btn-group" style="margin-left:5px;">                        <input id="consultIntentionInput" ng-model="searchCriteria.intention" type="text" class="form-control" style="width:120px">                    </div>                </td>                <td style="width:220px;">                    <span style="font-size: 13px;color: #abadaf;margin-left:5px;">成交状态：</span>                    <div class="btn-group" style="margin-left:5px;">                        <input id="consultStateInput" ng-model="searchCriteria.state" type="text" class="form-control" style="width:120px">                    </div>                </td>                <td style="width:220px;">                    <span style="font-size: 13px;color: #abadaf;margin-left:5px;">就诊类型：</span>                    <div class="btn-group" style="margin-left:5px;">                        <input id="visitStateInput" type="text" class="form-control" style="width:120px">                    </div>                </td>                <td style="width:220px;">                    <span style="font-size: 13px;color: #abadaf;margin-left:5px;">咨询项目：</span>                    <div class="btn-group" style="margin-left:5px;">                        <input id="consultItemInput" type="text" class="form-control" style="width:120px">                    </div>                </td>                <td style="width:225px;">                    <input id="searchTextInput" ng-model="searchCriteria.searchText" placeholder="姓名，病历号，手机号，拼首码" type="text" class="form-control"                           style="width:225px;margin-left:15px;">                </td>                <td>                    <button class="btn btn-default" sensors-enabled="true" sensors-event-name="consultList" sensors-event-type="查询" ares-slow-click="searchConsultPagedList()" style="margin:0 15px;">                        <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                    </button>                </td>                <td ng-if="isAllowExportConsults" style="">                    <button class="btn btn-default" sensors-enabled="true" sensors-event-name="consultList" sensors-event-type="导出Excel" ares-slow-click="exportConsultsList()" style="margin-left:15px;">                        导出Excel                    </button>                </td>            </tr>        </table>    </div>    <div class="consult-page-list-wrap" style=\'overflow: auto;border-top:2px solid #00a7c6;\' id="list-body">        <table style="width:2300px;">            <thead>                <tr style="height:35px;border-bottom:1px solid #00a7c6;">                    <th style="width:2%;">序号</th>                    <th style="width:5%;">姓名</th>                    <th style="width:4%;">自定义标签</th>                    <th style="width:3%;">性别</th>                    <th style="width:3%;">年龄</th>                    <th style="width:5%;">手机号</th>                    <th style="width:5%;">电话</th>                    <th style="width:6%;">所在地区</th>                    <th style="width:5%;">就诊日期</th>                    <th style="width:5%;">患者来源</th>                    <!--<th style="width:5%;">预约初复诊</th>-->                    <th style="width:5%;">咨询师</th>                    <th style="width:7%;">咨询项目</th>                    <th style="width:7%;">咨询内容</th>                    <th style="width:6%;">成交意愿</th>                    <th style="width:6%;">是否成交</th>                    <th style="width:4%;">实际实收</th>                    <th style="width:4%;">充值金额</th>                    <th style="width:6%;">备注</th>                    <th style="width:3%;">历史成交</th>                    <th style="width:4%;">就诊类型</th>                </tr>            </thead>            <tbody>                <tr style="height:45px;border-bottom:1px solid #e6e4e1;" ng-repeat="item in apptConsultList">                    <td style="width:2%;">{{$index + 1}}</td>                    <td style="width:5%;"><a ng-click="goToPatient(item.patientId)">{{item.name}}</a></td>                    <td style="width:4%;">{{item.tagStr}}</td>                    <td style="width:3%;">{{item.gender}}</td>                    <td style="width:3%;">{{item.age}}</td>                    <td style="width:5%;">{{item.mobile}}</td>                    <td style="width:6%;">{{item.phoneNumber}}</td>                    <td style="width:6%;">{{item.location}}</td>                    <td style="width:5%;">{{item.startTime | toDateString}}</td>                    <td style="width:5%;">{{item.sourceTypeStr}}</td>                    <!--<td style="width:5%;">{{item.isFirstVisit | toFirstVisit}}</td>-->                    <td style="width:5%;">{{item.consultantName}}</td>                    <td style="width:7%;">{{item.consultItem}}</td>                    <td class=\'consult-content\' title=\'{{item.consultContent}}\'>{{item.consultContent}}</td>                    <td style="width:6%;">{{item.intention}}</td>                    <td style="width:6%;">{{item.state}}</td>                    <td style="width:4%;">{{item.actualAmount}}</td>                    <td style="width:4%;">{{item.membershipPrice}}</td>                    <td style="width:6%;">{{item.reason}}</td>                    <td style="width:3%;">{{item.isHistoryDeal}}</td>                    <td style="width:4%;">{{item.checkInType}}</td>                </tr>            </tbody>        </table>    </div>    <div class="pager-action" style="width: 100%;margin-top:10px;">        <div style="text-align: center;">            <div pagination                 total-items="page.totalCount"                 items-per-page="page.size"                 ng-model="page.index" ng-change="searchConsultPagedList()"                 max-size="15"                 first-text="第一页"                 previous-text="前一页"                 next-text="后一页"                 last-text="最后一页"                 rotate="true"                 class="pagination" boundary-links="true" style="margin:0;height:36px;"></div>            <ul class="pagination" style="margin:0">                <li class="disabled">                    <a style="padding: 0;padding-left: 5px;padding-right: 5px;">                        每页                        <input kendo-numeric-text-box k-min="1" k-max="50" k-ng-model="page.size"                               style="width:63px;" k-on-change="searchConsultPagedList()"                               k-options="{format: \'#\', decimals:0}" />                        条                    </a>                </li>            </ul>            <ul class="pagination" style="margin:0">                <li class="disabled">                    <a style="height:36px;">共{{page.totalCount}}条</a>                </li>            </ul>        </div>    </div></div>');templateCache.put('/app/management/views/consult/consult-network-list-view.html','<div class="dashboard-block-panel">    <style>        .center-block-title .btn-selected {            background: #e3e3e3;            box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);        }        .center-block-title #create-btn:hover {            cursor: pointer;            font-family: PingFangSC-Regular;            background-color: #00a8cb;            font-size: 14px;            border: 1px solid #00a8cb;            border-radius: 4px;            height: 34px;            color: white;        }        .center-block-title #create-btn {            height: 34px;            color: #00bad2;            border-color: #00bad2;        }        .center-block-title #export-btn:hover {            height: 34px;            color: #00bad2;            background-color: white;            border-color: #00bad2;        }        .center-block-title .consult-btn-selected {            background: #e3e3e3;            box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);        }        .dashboard-block-panel .search-title {            margin-top: 10px;            color: black;            margin-left: -10px !important;            line-height: 25px;        }        #groupOnlineConsultList.ares3 th {            font-weight: 700;        }    </style>    <div class="center-block-title" style="background-color:white">        <div style="margin-left:-4px;">            <table>                <tr>                    <td>                        <div class="control-content" style="display: inline-block; margin-left:5px;">                            <div class="btn-group" role="group">                                <button type="button" sensors-enabled="true" sensors-event-name="ConsultNetworkList"                                    sensors-event-type="全部" class="btn btn-default"                                    ng-class="{\'consult-btn-selected\':selectDate == \'all\'}"                                    ng-click="switchDate(\'all\')">全部</button>                                <button type="button" sensors-enabled="true" sensors-event-name="ConsultNetworkList"                                    sensors-event-type="日" class="btn btn-default"                                    ng-class="{\'consult-btn-selected\':selectDate == \'day\'}"                                    ng-click="switchDate(\'day\')">日</button>                                <button type="button" sensors-enabled="true" sensors-event-name="ConsultNetworkList"                                    sensors-event-type="周" class="btn btn-default"                                    ng-class="{\'consult-btn-selected\':selectDate == \'week\'}"                                    ng-click="switchDate(\'week\')">周</button>                                <button type="button" sensors-enabled="true" sensors-event-name="ConsultNetworkList"                                    sensors-event-type="月" class="btn btn-default"                                    ng-class="{\'consult-btn-selected\':selectDate == \'month\'}"                                    ng-click="switchDate(\'month\')">月</button>                                <button type="button" sensors-enabled="true" sensors-event-name="ConsultNetworkList"                                    sensors-event-type="自定义" class="btn btn-default"                                    ng-class="{\'consult-btn-selected\':selectDate == \'custom\'}"                                    ng-click="switchDate(\'custom\')">自定义</button>                            </div>                            <div class="btn-group search-cond-item"                                ng-if="selectDate == \'custom\' || selectDate == \'month\'|| selectDate == \'week\'">                                <input id="startDatePicker" type="text" class="form-control" kendo-date-picker                                    k-ng-model="timeSpan.startDate" k-format="\'yyyy-MM-dd\'"                                    k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;"                                    ng-disabled="selectDate == \'month\'||selectDate == \'day\'|| selectDate == \'week\'"                                    k-on-change="refreshGrid()">                                -                                <input id="endDatePicker" type="text" class="form-control" kendo-date-picker                                    k-ng-model="timeSpan.endDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']"                                    style="width: 130px; "                                    ng-disabled="selectDate == \'month\'||selectDate == \'day\'|| selectDate == \'week\'"                                    k-on-change="refreshGrid()">                            </div>                            <div class="btn-group search-cond-item" ng-if="selectDate == \'day\'">                                <input id="startDatePicker" type="text" class="form-control" kendo-date-picker                                    k-ng-model="timeSpan.startDate" k-format="\'yyyy-MM-dd\'"                                    k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;"                                    ng-disabled="selectDate == \'day\'">                            </div>                            <div class="btn-group search-cond-item"                                ng-if="selectDate == \'month\'||selectDate == \'day\'|| selectDate == \'week\'">                                <button class="btn btn-default" ng-click="updateDate(\'previous\')">                                    <span class="glyphicon glyphicon-triangle-left"></span>                                </button>                                <button class="btn btn-default" ng-click="updateDate(\'next\')">                                    <span class="glyphicon glyphicon-triangle-right"></span>                                </button>                            </div>                        </div>                    </td>                    <td style="width:200px">                        <span class="col-sm-4 search-title">患者</span>                        <div class="control-content col-sm-6">                            <input class="form-control" style="width:130px" id="filter" placeholder="患者/拼音/手机"                                ng-model="selectCode" ng-change="toggleStateSelection()" />                        </div>                    </td>                    <td style="width:260px">                        <span class="col-sm-4 search-title">成交意愿</span>                        <div class="control-content col-sm-6">                            <select class="not-ignore form-control" id="intention-input"                                style="width:180px;max-width:180px;float:left;"></select>                        </div>                    </td>                    <td ng-if="isDepartmentLevel">                        <div>                            <span class="col-sm-5 search-title">创建人</span>                            <div class="control-content col-sm-6">                                <input id="groupOnlineConsultantInput" type="text" class="form-control"                                    style="width:120px;">                            </div>                        </div>                    </td>                </tr>            </table>            <table style="width:100%">                <tr>                    <td style="width:260px;">                        <span class="col-sm-4 search-title">咨询项目</span>                        <div class="control-content col-sm-6">                            <input id="consultItems" type="text" class="form-control" style="width:160px;">                        </div>                    </td>                    <td style="width:260px;">                        <span class="col-sm-4 search-title">咨询内容</span>                        <div class="control-content col-sm-6">                            <input ng-model="content" ng-change="onContentChanged()" type="text" class="form-control"                                style="width:160px;">                        </div>                    </td>                    <td style="width:365px;">                        <span class="col-sm-3 search-title">患者状态</span>                        <div class="control-content col-sm-9 form-inline" style="margin-top: 5px;">                            <label for="none-appt" class="checkbox-inline">                                <input class="form-control" type="checkbox" name="none-appt" id="none-appt"                                    ng-model="apptStatus.none" ng-click="onApptStatusClick()">未预约                            </label>                            <label for="has-appt-none-checkin" class="checkbox-inline">                                <input class="form-control" type="checkbox" name="has-appt-none-checkin"                                    id="has-appt-none-checkin" ng-model="apptStatus.noCheckin"                                    ng-click="onApptStatusClick()">已预约未到店                            </label>                            <label for="has-appt-checkin" class="checkbox-inline">                                <input class="form-control" type="checkbox" name="has-appt-checkin"                                    id="has-appt-checkin" ng-model="apptStatus.checkin"                                    ng-click="onApptStatusClick()">已到店                            </label>                        </div>                    </td>                    <td align="right">                        <button type="button" sensors-enabled="true" sensors-event-name="ConsultNetworkList"                            sensors-event-type="新建咨询" id="create-btn" class="btn btn-default" ng-click="createConsult()"                            ng-if="providerJob==\'网电营销\'">                            新建咨询                        </button>                        <button type="button" sensors-enabled="true" sensors-event-name="ConsultNetworkList"                            sensors-event-type="导出" id="export-btn" class="btn btn-default"                            ares-authorize="consultCenter.exportConsultList" style="height:34px"                            ares-slow-click="exportExcel()">                            导出                        </button>                    </td>                </tr>            </table>        </div>        <div style="text-align:right">        </div>    </div>    <div id="groupOnlineConsultList" style="margin-top:10px;" ng-class="isAres3?\'ares3\':\'\'"></div>    <div style="width: 100%;margin-top:10px;">        <div style="text-align: center;">            <div pagination total-items="pageData.totalCount" items-per-page="pageData.pageSize" ng-model="pageIndex"                ng-change="onPageChanged(pageIndex)" max-size="10" first-text="第一页" previous-text="前一页" next-text="后一页"                last-text="最后一页" rotate="true" class="pagination" boundary-links="true" style="margin:0;height:36px;">            </div>            <ul class="pagination" style="margin:0">                <li class="disabled">                    <a style="padding: 0;padding-left: 5px;padding-right: 5px;">                        每页                        <input kendo-numeric-text-box k-min="1" k-max="50" k-ng-model="pageSize" style="width:63px;"                            k-on-change="onPageSizeChanged(pageSize)" k-options="{format: \'#\', decimals:0}" />                        条                    </a>                </li>            </ul>            <ul class="pagination" style="margin:0">                <li class="disabled"><a style="height:36px;">共{{pageData.totalCount}}条</a></li>            </ul>        </div>    </div>    <p ng-show="onlineConsults&&onlineConsults.length==0" class="empty-grid-info">无咨询记录</p></div>');templateCache.put('/app/management/views/consult/scene-consult-list-view.html','<div class="ares-main-content" ares-clean-kendo>    <div class="ares-page-header">        <table>            <tr>                <td style="width: 100px;padding-right: 10px;">                    <select id="daysBeforeTodayInput" class="not-ignore" kendo-drop-down-list style=" width:100px" ng-model="range" ng-change="initDefaultTimeSpan(true)">                        <option value="0">本日</option>                        <option value="week">本周</option>                        <option value="month">本月</option>                        <option value="自定义">自定义</option>                    </select>                </td>                <td ng-if="range==\'自定义\'" style="width: 130px;">                    <input id="startDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.startDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;">                </td>                <td ng-if="range==\'自定义\'" style="padding-left: 5px; padding-right: 5px;"><label>-</label></td>                <td ng-if="range==\'自定义\'" style="width: 130px; ">                    <input id="endDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.endDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px; ">                </td>                <td style="width:170px">                    <span style="font-size: 13px;color: #abadaf;margin-left:5px;">咨询师：</span>                    <div class="btn-group" style="margin-left:5px;">                        <input id="consultantInput" type="text" class="form-control" style="width:100px">                    </div>                </td>                <td >                    <span style="font-size: 13px;color: #abadaf;margin-left:5px;">咨询项目：</span>                    <div class="btn-group" style="margin-left:5px;">                        <input id="consultItemInput" type="text" class="form-control" style="width:100px">                    </div>                </td>                <td style="width:200px;">                    <span style="font-size: 13px;color: #abadaf;margin-left:5px;">就诊类型：</span>                    <div class="btn-group" style="margin-left:5px;">                        <input id="visitStateInput" type="text" class="form-control" style="width:100px">                    </div>                </td>                <td style="width:160px">                    <span style="font-size: 13px;color: #abadaf;margin-left:5px;">状态：</span>                    <div class="btn-group" style="margin-left:5px;">                        <input id="statusInput" type="text" class="form-control" style="width:100px">                    </div>                </td>                <td style="width: 100px; padding-left: 10px; ">                    <a class="btn btn-default" ares-slow-click="search()" sensors-enabled="true" sensors-event-name="sceneConsultList" sensors-event-type="查询">查询</a>                </td>            </tr>        </table>        <table style="width:100%">            <tr>                <td style="width:240px">                    <span class="col-sm-4" style="margin-top:10px;color:black;margin-left:-10px;line-height:25px;">患者</span>                    <div class="control-content col-sm-6" style="margin-left:-10px;">                        <input class="form-control" style="width:160px" id="filter" placeholder="患者/拼音/病历号" ng-model="selectCode" />                    </div>                </td>                <td align="right">                    <a class="btn btn-default" ng-if="isAllowExportConsults" ares-slow-click="exportExcel()" sensors-enabled="true" sensors-event-name="sceneConsultList" sensors-event-type="导出">导出Excel</a>                </td>            </tr>        </table>    </div>    <style>        #sceneConsultList >table {            table-layout: fixed;        }        #sceneConsultList .wrap-prompt {            word-wrap: break-word;            overflow: hidden;            white-space: normal;        }       </style>    <div style="margin-top:10px;">        <div id="sceneConsultList" style="min-height:{{height}}"></div>        <div style="width: 100%;margin-top:10px;">            <div style="text-align: center;">                <div pagination                     total-items="searchResult.totalCount"                     items-per-page="searchResult.pageSize"                     ng-model="pageIndex" ng-change="onPageChanged(pageIndex)"                     max-size="10"                     first-text="第一页"                     previous-text="前一页"                     next-text="后一页"                     last-text="最后一页"                     rotate="true"                     class="pagination" boundary-links="true" style="margin:0;height:36px;"></div>                <ul class="pagination" style="margin:0">                    <li class="disabled">                        <a style="padding: 0;padding-left: 5px;padding-right: 5px;">                            每页                            <input kendo-numeric-text-box k-min="1" k-max="50" k-ng-model="pageSize" style="width:63px;" k-on-change="onPageSizeChanged(pageSize)" k-options="{format: \'#\', decimals:0}" />                            条                        </a>                    </li>                </ul>                <ul class="pagination" style="margin:0"><li class="disabled"><a style="height:36px;">共{{searchResult.totalCount}}条</a></li></ul>            </div>        </div>    </div></div>');templateCache.put('/app/management/views/customer-clue/customer-clue-home-view.html','<ares-tab states="states" commands="commands"></ares-tab>');templateCache.put('/app/management/views/customer-clue/customer-clue-management-view.html','<div class="customer-clue-management-view enyo" ares-clean-kendo>    <style scoped>        .customer-clue-management-view .k-grid td {            text-align: left;        }        .customer-clue-management-view .k-grid .k-grid-content .cell-center {            text-align: center;        }        .customer-clue-management-view .k-grid .k-grid-content td .btn-group button {            border: none;            color: #00a6c9;            background: transparent;        }        .customer-clue-management-view .customer-clue-management-search .search-item .k-input {            box-shadow: none;        }        .customer-clue-management-view .customer-clue-management-search .search-item button.btn {            margin-left: 10px;            height: 32px;        }        .customer-clue-management-view .customer-clue-management-grid {            min-height: 300px;        }        .customer-clue-management-view .customerClue-status-1,        .customer-clue-management-view .customerClue-status-2 {            color: #F7871D;        }        .customer-clue-management-view .customerClue-status-3 {            color: #2DCB73;        }        .customer-clue-management-view .edit-button {            cursor: pointer;        }        .customer-clue-management-view .checkbox-box {            line-height: 32px;        }        .customer-clue-management-view .checkbox-box .ares-checkbox {            vertical-align: text-top;        }        .customer-clue-management-view label {            font-weight: normal;        }        .customer-clue-management-view .customer-clue-management-grid .k-grid-content td span.label {            margin-left: 5px;        }        .customer-clue-management-view .search-wrap.search-more-body {            background-color: #eff7ff;            padding-top: 8px;            height: auto;            text-indent: 5px;            border-top: 1px solid #D6D9DF;            margin-bottom: 5px;            margin-top: 10px;        }        .customer-clue-management-view  .search-item {            display: inline-block;            vertical-align: middle;        }        .customer-clue-management-view .customer-clue-footer {            background: #f3f7f7;            height: 50px;        }        .customer-clue-management-view .customer-clue-footer .footer-oper .action-btn {            line-height: 50px;            margin-right: 5px;        }        .customer-clue-management-view .footer-oper .select-ele {            line-height: 50px;        }        .customer-clue-management-view .footer-oper .select-all {            margin-left: 10px;        }        .customer-clue-management-view .footer-oper .select-all .select-text {            margin-left: 3px;        }        .customer-clue-management-view .footer-oper .selected-text {            margin-right: 10px;        }        .search-more-body {            position: relative;        }        .search-more-body .search-group .search-item label {            margin-right: 5px;            margin-bottom: 0;        }        .search-more-body .search-group {            margin-right: 10px;            margin-bottom: 10px;        }        .search-more-body .search-group .search-item-input {            text-indent: 0;            width: 140px;        }        .search-more-body .icon-btn {            position: absolute;            right: 10px;            top: 15px;        }        .search-more-body .icon-btn i {            font-size: 17px;            color: #9397a2;            cursor: pointer;        }    </style>    <div class="customer-clue-management-search clearfix">        <div class="search-item pull-left" style="margin-right:10px;">            <input id="isAssigned" class="form-control" style="width: 140px;" />        </div>        <div class="search-item pull-left" style="margin-right:10px;width:140px;">            <input type="text" class="form-control" ng-model="criteria.sourceTypeLevel1" placeholder="请输入一级来源">        </div>        <div class="search-item pull-left" style="margin-right:10px;width:140px;">            <input type="text" class="form-control" ng-model="criteria.sourceType" placeholder="请输入二级来源">        </div>        <div class="search-item pull-left" style="margin-right:10px;width:140px;">            <input type="text" class="form-control" ng-model="criteria.refereeName" placeholder="请输入三级来源">        </div>        <div class="search-item pull-left" style="margin-right:10px;">            <input id="assigneeProvider" class="form-control" style="width: 140px;" />        </div>        <div class="search-item pull-left" style="margin-right:10px;">            <input id="isVisited" class="form-control" style="width: 140px;" />        </div>    </div>    <div class="customer-clue-management-search clearfix" style="margin-top: 10px;">        <div class="search-group pull-left clearfix" style="margin-right:10px;">            <div class="search-item">                <label>导入日期</label>            </div>            <div class="search-item">                <timer-range-picker time-range-date="timeSpanCreatedTime" on-changed="onCreatedTimeChanged" style="width: 230px !important;"></timer-range-picker>            </div>        </div>        <div class="search-item pull-left">            <button type="button" class="btn btn-primary" ng-click="search()" style="margin-left: 0;">查询</button>            <button type="button" class="btn btn-default" ng-click="refresh()" style="margin-left:0;">清空</button>            <button type="button" class="btn btn-primary" ng-click="closeCustormer()" style="margin-left:0; border-radius: 8px;width: 100px;">关闭到店线索</button>        </div>        <div class="search-item pull-right">            <span class="btn more-search enyo-text-primary" style="line-height:32px;" ng-click="switchMode()">高级搜索 <i class="fa fa-caret-down"></i></span>        </div>    </div>    <div class="search-wrap search-more-body clearfix" ng-show="searchMode">        <div class="icon-btn" ng-click="searchMode = false;"></div>        <div class="search-group pull-left clearfix">            <div class="search-item">                <label>咨询日期</label>            </div>            <div class="search-item">                <timer-range-picker time-range-date="timeSpanComplaintTime" on-changed="onComplaintTimeChanged"></timer-range-picker>            </div>        </div>        <div class="search-group pull-left clearfix">            <div class="search-item">                <label>预约日期</label>            </div>            <div class="search-item">                <timer-range-picker time-range-date="timeSpanAppointmentTime" on-changed="onAppointmentTimeChanged"></timer-range-picker>            </div>        </div>        <div class="search-group pull-left clearfix">            <div class="search-item">                <label>客户姓名</label>            </div>            <div class="search-item search-item-input">                <input type="text" class="form-control" ng-model="criteria.customerName" placeholder="请输入">            </div>        </div>        <div class="search-group pull-left clearfix">            <div class="search-item">                <label>客户电话</label>            </div>            <div class="search-item search-item-input">                <input type="text" class="form-control" ng-model="criteria.mobile" placeholder="请输入">            </div>        </div>        <div class="search-group pull-left clearfix">            <div class="search-item">                <label>咨询内容</label>            </div>            <div class="search-item search-item-input">                <input type="text" class="form-control" ng-model="criteria.complaintContent" placeholder="请输入">            </div>        </div>        <div class="search-group pull-left clearfix">            <div class="search-item">                <label>咨询项目</label>            </div>            <div class="search-item search-item-input">                <input type="text" class="form-control" ng-model="criteria.complaintItem" placeholder="请输入">            </div>        </div>        <div class="search-group pull-left clearfix">            <div class="search-item">                <label>分配日期</label>            </div>            <div class="search-item">                <timer-range-picker time-range-date="timeSpanAssignTime" on-changed="onAssignTimeChanged"></timer-range-picker>            </div>        </div>        <div class="search-group pull-left clearfix">            <div class="search-item">                <label>预约项目</label>            </div>            <div class="search-item search-item-input">                <input type="text" class="form-control" ng-model="criteria.procedureName" placeholder="请输入">            </div>        </div>	        <div class="search-group pull-left clearfix">            <div class="search-item">                <label>导入人</label>            </div>            <div class="search-item search-item-input">                <input id="recordCreatedUser" type="text" class="form-control" style="width:140px;">            </div>        </div>        <div class="search-group pull-left clearfix">            <div class="search-item">                <label>分配人</label>            </div>            <div class="search-item search-item-input">                <input id="assignerProvider" type="text" class="form-control" ng-model="criteria.AssignerProviderId" style="width:140px;">            </div>        </div>        <div class="search-group pull-left clearfix">            <div class="search-item">                <label>首次回访</label>            </div>            <div class="search-item search-item-input">                <input id="firstFollow" type="text" class="form-control" ng-model="criteria.firstFollow" style="width:140px;">            </div>        </div>        <div class="search-group pull-left clearfix">            <div class="search-item">                <label>再次回访</label>            </div>            <div class="search-item search-item-input">                <input id="nextFollow" type="text" class="form-control" ng-model="criteria.nextFollow" style="width:140px;">            </div>        </div>        <div class="search-group pull-left clearfix">            <div class="search-item">                <label>末次回访</label>            </div>            <div class="search-item search-item-input">                <input id="lastFollow" type="text" class="form-control" ng-model="criteria.lastFollow" style="width:140px;">            </div>        </div>    </div>    <div style="margin-top:10px;">        <div class="customer-clue-management-grid grid-has-checkbox grid-not-has-select-all locked-float-right" id="customerClueManagementGrid">        </div>        <div class="table-footer lc-table-footer">            <div pagination total-items="pageData.totalCount" items-per-page="pageData.pageSize" ng-model="criteria.pageIndex" ng-change="onPageChanged(criteria.pageIndex)" max-size="10" first-text="第一页" previous-text="前一页" next-text="后一页" last-text="最后一页" rotate="true"              class="pagination new-page-color" boundary-links="true" style="margin:0;"></div>            <ul class="pagination new-page-color pagination-to-page" style="margin:0">                <li class="disabled">                    <a style="padding: 0;padding-left: 5px;padding-right: 5px;">                        每页                        <input kendo-numeric-text-box k-min="1" k-max="50" k-ng-model="criteria.pageSize" style="width:63px;" k-on-change="onPageSizeChanged(criteria.pageSize)" k-options="{format: \'#\', decimals:0}" />                        条                    </a>                </li>            </ul>            <ul class="pagination" style="margin:0">                <li class="disabled"><a>共{{pageData.totalCount}}条</a></li>            </ul>        </div>        <div class="customer-clue-footer">            <div class="footer-oper clearfix">                <div class="pull-left select-all select-ele">                    <div class="select-box">                        <input type="checkbox" class="ares-checkbox" ng-model="selectTotalCount" ng-click="onAllCheckboxClicked(selectTotalCount)" style="vertical-align:text-top;">                        <span class="select-text">                            全选                        </span>                    </div>                </div>                <div class="pull-right action-btn">                    <span class="selected-text">已选择 <span class="enyo-text-danger" ng-bind="selectedRows || 0"></span> 条</span>                    <button class="btn btn-warning" ng-click="allocationClue()" ares-authorize="customerClueManagement.alloc">分配</button>                    <button class="btn btn-primary" ng-click="exportExcel()" ares-authorize="customerClueManagement.import">导入</button>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/management/views/customer-clue/customer-clue-track-view.html','<div class="customer-clue-track-view enyo" ares-clean-kendo>    <style scoped>        .customer-clue-track-view .k-grid td {            text-align: left;        }        .customer-clue-track-view .k-grid .k-grid-content .cell-center {            text-align: center;        }        .customer-clue-track-view .k-grid .k-grid-content td .btn-group button {            border: none;            color: #00a6c9;            background: transparent;        }        .customer-clue-track-view .customer-clue-track-search .search-item .k-input {            box-shadow: none;        }        .customer-clue-track-view .customer-clue-track-search .search-item button.btn {            margin-left: 10px;            height: 32px;        }        .customer-clue-track-view .customer-clue-track-grid {            min-height: 300px;        }        .customer-clue-track-view .customerClue-status-1,        .customer-clue-track-view .customerClue-status-2 {            color: #F7871D;        }        .customer-clue-track-view .customerClue-status-3 {            color: #2DCB73;        }        .customer-clue-track-view .edit-button {            cursor: pointer;        }        .customer-clue-track-view .checkbox-box {            line-height: 32px;        }        .customer-clue-track-view .checkbox-box .ares-checkbox {            vertical-align: text-top;        }        .customer-clue-track-view label {            font-weight: normal;        }        .customer-clue-track-view .customer-clue-track-grid .k-grid-content td span.label {            margin-left: 5px;        }        .customer-clue-track-view .search-wrap.search-more-body {            background-color: #eff7ff;            padding-top: 8px;            height: auto;            text-indent: 5px;            border-top: 1px solid #D6D9DF;            margin-bottom: 5px;            margin-top: 10px;        }        .customer-clue-track-view .search-wrap .search-item {            display: inline-block;            vertical-align: middle;        }        .search-more-body {            position: relative;        }        .search-more-body .search-group .search-item label {            margin-right: 5px;            margin-bottom: 0;        }        .search-more-body .search-group {            margin-right: 10px;            margin-bottom: 10px;        }        .search-more-body .search-group .search-item-input {            text-indent: 0;            width: 140px;        }        .search-more-body .icon-btn {            position: absolute;            right: 10px;            top: 15px;        }        .search-more-body .icon-btn i {            font-size: 17px;            color: #9397a2;            cursor: pointer;        }    </style>    <div class="customer-clue-track-search clearfix">        <div class="search-item pull-left" style="margin-right:10px;">            <input id="customerClueState" class="form-control" style="width: 140px;" />        </div>        <div class="search-item pull-left" style="margin-right:10px;width:140px;">            <input type="text" class="form-control" ng-model="criteria.channelLevel1" placeholder="请输入一级渠道">        </div>        <div class="search-item pull-left" style="margin-right:10px;width:140px;">            <input type="text" class="form-control" ng-model="criteria.channelLevel2" placeholder="请输入二级渠道">        </div>        <div class="search-item pull-right">            <span class="btn more-search enyo-text-primary" style="line-height:32px;" ng-click="switchMode()">高级搜索 <i class="fa fa-caret-down"></i></span>        </div>        <div class="search-item pull-left">            <button type="button" class="btn btn-primary" ng-click="search()">查询</button>            <button type="button" class="btn btn-default" ng-click="refresh()" style="margin-left:0;">清空</button>        </div>    </div>    <div class="search-wrap search-more-body clearfix" ng-show="searchMode">        <div class="icon-btn" ng-click="searchMode = false;"><i class="iconfont icon-guanbi"></i></div>        <div class="search-group pull-left clearfix">            <div class="search-item">                <label>客户姓名</label>            </div>            <div class="search-item search-item-input">                <input type="text" class="form-control" ng-model="criteria.customerName" placeholder="请输入">            </div>        </div>        <div class="search-group pull-left clearfix">            <div class="search-item">                <label>客户电话</label>            </div>            <div class="search-item search-item-input">                <input type="text" class="form-control" ng-model="criteria.mobile" placeholder="请输入">            </div>        </div>        <div class="search-group pull-left clearfix">            <div class="search-item">                <label>客户诉求</label>            </div>            <div class="search-item search-item-input">                <input type="text" class="form-control" ng-model="criteria.complaintContent" placeholder="请输入">            </div>        </div>        <div class="search-group pull-left clearfix">            <div class="search-item">                <label>客户项目</label>            </div>            <div class="search-item search-item-input">                <input type="text" class="form-control" ng-model="criteria.complaintItem" placeholder="请输入">            </div>        </div>        <div class="search-group pull-left clearfix">            <div class="search-item">                <label>提交日期</label>            </div>            <div class="search-item search-item-input">                <input kendo-date-picker k-format="\'yyyy-MM-dd\'" style="width:140px;" ng-model="criteria.startRecordCreateTime" placeholder="请选择" />            </div>        </div>        <div class="search-group pull-left clearfix">            <div class="search-item">                <label>首次回访</label>            </div>            <div class="search-item search-item-input">                <input id="firstFollow" type="text" class="form-control" ng-model="criteria.firstFollow" style="width:140px;">            </div>        </div>        <div class="search-group pull-left clearfix">            <div class="search-item">                <label>二次回访</label>            </div>            <div class="search-item search-item-input">                <input id="nextFollow" type="text" class="form-control" ng-model="criteria.nextFollow" style="width:140px;">            </div>        </div>        <div class="search-group pull-left clearfix">            <div class="search-item">                <label>三次回访</label>            </div>            <div class="search-item search-item-input">                <input id="lastFollow" type="text" class="form-control" ng-model="criteria.lastFollow" style="width:140px;">            </div>        </div>        <div class="search-group pull-left clearfix">            <div class="search-item">                <label>诉求日期</label>            </div>            <div class="search-item search-item-input">                <input kendo-date-picker k-format="\'yyyy-MM-dd\'" style="width:140px;" ng-model="criteria.startComplaintTime" placeholder="请选择" />            </div>        </div>        <div class="search-group pull-left clearfix">            <div class="search-item">                <label>预约日期</label>            </div>            <div class="search-item search-item-input">                <input kendo-date-picker k-format="\'yyyy-MM-dd\'" style="width:140px;" ng-model="criteria.appointmentStartTime" placeholder="请选择" />            </div>        </div>        <div class="search-group pull-left clearfix">            <div class="search-item">                <label>预约项目</label>            </div>            <div class="search-item search-item-input">                <input type="text" class="form-control" ng-model="criteria.procedureName" placeholder="请输入">            </div>        </div>    </div>    <div style="margin-top:10px;">        <div class="customer-clue-track-grid grid-new-icon-select-not-checkbox locked-float-right" id="customerClueTrackGrid">        </div>        <div class="table-footer lc-table-footer">            <div pagination total-items="pageData.totalCount" items-per-page="pageData.pageSize" ng-model="criteria.pageIndex" ng-change="onPageChanged(criteria.pageIndex)" max-size="10" first-text="第一页" previous-text="前一页" next-text="后一页" last-text="最后一页" rotate="true"              class="pagination new-page-color" boundary-links="true" style="margin:0;"></div>            <ul class="pagination new-page-color pagination-to-page" style="margin:0">                <li class="disabled">                    <a style="padding: 0;padding-left: 5px;padding-right: 5px;">                        每页                        <input kendo-numeric-text-box k-min="1" k-max="50" k-ng-model="criteria.pageSize" style="width:63px;" k-on-change="onPageSizeChanged(criteria.pageSize)" k-options="{format: \'#\', decimals:0}" />                        条                    </a>                </li>            </ul>            <ul class="pagination" style="margin:0">                <li class="disabled"><a>共{{pageData.totalCount}}条</a></li>            </ul>        </div>    </div></div>');templateCache.put('/app/management/views/expenditure/expenditure-edit-view.html','<div ares-modal-dragable ares-clean-kendo>    <style>        .expend-edit tr {            height: 45px;        }    </style>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">{{title}}</h4>    </div>    <div class="modal-body ares-dialog-body expend-edit">        <table style="width:100%">            <tr>                <td align="right" width="15%"><span style="color:red">* </span>发生日期：</td>                <td width="35%">                    <input id="startDatePicker" type="text" class="form-control" kendo-date-time-picker k-ng-model="expend.expendTime" k-format="\'yyyy-MM-dd HH:mm\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 190px;" ng-hide="isBrowsed">                    <label ng-show="isBrowsed" class="control-label">{{expend.expendTime|toLongDateMMString}}</label>                </td>                <td width="15%"></td>                <td width="35%"></td>            </tr>            <tr>                <td align="right"><span style="color:red;vertical-align: middle;line-height: 19px">* </span>经办人：</td>                <td>                    <input id="operatorInput" type="text" class="form-control" style="width: 173px;" ng-hide="isBrowsed">                    <label ng-show="isBrowsed" class="control-label">{{expend.operatorName}}</label>                </td>                <td align="right">负责人：</td>                <td>                    <input id="principalInput" type="text" class="form-control" style="width: 173px;" ng-hide="isBrowsed">                    <label ng-show="isBrowsed" class="control-label">{{expend.principalName}}</label>                </td>            </tr>            <tr>                <td align="right"><span style="color:red;vertical-align: middle;line-height: 19px">* </span>支出类别：</td>                <td>                    <div class="col-sm-8" style="margin-left:-15px;" ng-hide="isBrowsed">                        <input id="expendTypeInput" type="text" class="form-control" style="width: 130px;">                    </div>                    <button class="btn btn-default" ares-config-click="editSetting(\'支出类别\')" ng-hide="isBrowsed" style="margin-left:5px;" ng-disabled="currentChargeOrder.viewStatus==\'browser\'">                        <span class="glyphicon glyphicon-cog"></span>                    </button>                    <label ng-show="isBrowsed" class="control-label">{{expend.expendType}}</label>                </td>                <td align="right">支出明细：</td>                <td>                    <input ng-model="expend.expendDetail" type="text" class="form-control" style="width: 173px;"  maxlength="50" ng-hide="isBrowsed">                    <label ng-show="isBrowsed" class="control-label">{{expend.expendDetail}}</label>                </td>            </tr>            <tr>                <td align="right"><span style="color:red;vertical-align: middle;line-height: 19px">* </span>金额：</td>                <td>                    <input kendo-numeric-text-box k-min="0" k-max="99999999" ng-hide="isBrowsed" k-ng-model="expend.amount" style="width:173px;" k-options="{format: \'#.##\', decimals:2}" />                    <label ng-show="isBrowsed" class="control-label">{{expend.amount}}</label>                </td>                <td align="right"><span style="color:red;vertical-align: middle;line-height: 19px">* </span>支付方式：</td>                <td>                    <div class="col-sm-8" style="margin-left:-15px;" ng-hide="isBrowsed">                        <input id="payTypeInput" type="text" class="form-control" style="width: 130px;">                    </div>                    <button ng-hide="isBrowsed" class="btn btn-default" ares-config-click="editSetting(\'支出支付方式\')" style="margin-left:5px;" ng-disabled="currentChargeOrder.viewStatus==\'browser\'">                        <span class="glyphicon glyphicon-cog"></span>                    </button>                    <label ng-show="isBrowsed" class="control-label">{{expend.payType}}</label>                </td>            </tr>            <tr>                <td align="right">备注：</td>                <td colspan="3">                    <textarea rows="2" class="form-control" ng-model="expend.notes" maxlength="50" style="max-width:92%" ng-hide="isBrowsed"></textarea>                    <label ng-show="isBrowsed" class="control-label">{{expend.notes}}</label>                </td>            </tr>        </table>    </div>    <div class="modal-footer ares-dialog-footer" style="text-align:center">        <button type="button" class="btn btn-primary" ng-click="save()" ng-hide="isBrowsed">保存</button>        <button type="button" class="btn btn-default" ng-click="cancel()">关闭</button>    </div>    <notification-upload-success></notification-upload-success></div>');templateCache.put('/app/management/views/expenditure/expenditure-home-view.html','<style>    .expend-tab .nav-tabs > li.active a {        background-color: #00a9c8 !important;        color: white !important;        padding-left: 20px !important;        padding-right: 27px !important;    }    .expend-tab > ul {        border-bottom: 2px solid #00a9c8;    }    .expend-title {        background-color: #00a9c8 !important;    }</style><ares-tab states="states" root-state="expendCenter" ng-class="isAres3 ? \'\' : \'expend-tab\'"   commands="commands"></ares-tab>');templateCache.put('/app/management/views/expenditure/expenditure-list-view.html','<div class="ares-main-content" ares-clean-kendo>    <style>        .expend-data-table th {            text-align: center;        }        .expend-data-table td {            text-align: center;        }        .expend-btn-selected {            background: #e3e3e3;            box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);        }    </style>    <div class="control-panel">        <table>            <tr>                <td style="border-right: 1px #e6e4e1 solid;">                    <div style="padding:0 15px;">                        <span style="font-size: 13px;color: #abadaf;">发生日期：</span>                        <div class="btn-group" role="group">                            <button type="button" sensors-enabled="true" sensors-event-name="ExpenditureList" sensors-event-type="全部" class="btn btn-default" ng-class="{\'expend-btn-selected\':selectDate == \'all\'}" ng-click="switchDate(\'all\')">全部</button>                            <button type="button" sensors-enabled="true" sensors-event-name="ExpenditureList" sensors-event-type="日" class="btn btn-default" ng-class="{\'expend-btn-selected\':selectDate == \'day\'}" ng-click="switchDate(\'day\')">日</button>                            <button type="button" sensors-enabled="true" sensors-event-name="ExpenditureList" sensors-event-type="周" class="btn btn-default" ng-class="{\'expend-btn-selected\':selectDate == \'week\'}" ng-click="switchDate(\'week\')">周</button>                            <button type="button" sensors-enabled="true" sensors-event-name="ExpenditureList" sensors-event-type="月" class="btn btn-default" ng-class="{\'expend-btn-selected\':selectDate == \'month\'}" ng-click="switchDate(\'month\')">月</button>                            <button type="button" sensors-enabled="true" sensors-event-name="ExpenditureList" sensors-event-type="自定义" class="btn btn-default" ng-class="{\'expend-btn-selected\':selectDate == \'custom\'}" ng-click="switchDate(\'custom\')">自定义</button>                        </div>                        <div class="btn-group" style="margin-left:30px;" ng-show="selectDate == \'custom\' || selectDate == \'month\'|| selectDate == \'week\'">                            <input id="startDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.startDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;" ng-disabled="selectDate == \'month\'||selectDate == \'day\'|| selectDate == \'week\'" k-on-change="search()">                            -                            <input id="endDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.endDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px; " ng-disabled="selectDate == \'month\'||selectDate == \'day\'|| selectDate == \'week\'" k-on-change="search()">                        </div>                        <div class="btn-group" style="margin-left:30px;" ng-show="selectDate == \'day\'">                            <input id="startDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.startDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;" ng-disabled="selectDate == \'day\'">                        </div>                        <div class="btn-group" style="margin-left:30px;" ng-show="selectDate == \'month\'||selectDate == \'day\'|| selectDate == \'week\'">                            <button class="btn btn-default" ng-click="updateDate(\'previous\')"><span class="glyphicon glyphicon-triangle-left"></span></button>                            <button class="btn btn-default" ng-click="updateDate(\'next\')" style="margin-left:10px;"><span class="glyphicon glyphicon-triangle-right"></span></button>                        </div>                    </div>                </td>                <td style="width:220px;border-right:1px #e6e4e1 solid">                    <span style="font-size: 13px;color: #abadaf;margin-left:15px;">经办人：</span>                    <div class="btn-group" style="margin-left:5px;">                        <input id="operatorInput" type="text" class="form-control" style="width: 130px;">                    </div>                </td>                <td style="width:220px;">                    <span style="font-size: 13px;color: #abadaf;margin-left:15px;">负责人：</span>                    <div class="btn-group" style="margin-left:5px;">                        <input id="principalInput" type="text" class="form-control" style="width: 130px;">                    </div>                </td>            </tr>        </table>        <table style="width:100%;margin-top:5px;">            <tr>                <td style="width:220px;border-right:1px #e6e4e1 solid">                    <span style="font-size: 13px;color: #abadaf;margin-left:15px;">类别：</span>                    <div class="btn-group" style="margin-left:5px; ">                        <input id="expendTypeInput" type="text" class="form-control" style="width: 130px;">                    </div>                </td>                <td style="width:246px;border-right:1px #e6e4e1 solid">                    <span style="font-size: 13px;color: #abadaf;margin-left:15px;">支付方式：</span>                    <div class="btn-group" style="margin-left:5px; ">                        <input id="payTypeInput" type="text" class="form-control" style="width: 130px;">                    </div>                </td>                <td style="width:220px;border-right:1px #e6e4e1 solid">                    <span style="font-size: 13px;color: #abadaf;margin-left:15px;">明细：</span>                    <div class="btn-group" style="margin-left:5px;">                        <input ng-model="criteria.expendDetail" type="text" class="form-control" style="width: 130px;" placeholder="请输入关键字">                    </div>                </td>                <td>                    <button type="button" sensors-enabled="true" sensors-event-name="ExpenditureList" sensors-event-type="导入商城物品" class="btn btn-default" ares-slow-click="search()" style="margin-left:20px;">                        <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                    </button>                    <a ng-click="clear()">清除</a>                </td>                <td align="right">                    <button type="button" sensors-enabled="true" sensors-event-name="ExpenditureList" sensors-event-type="导入商城物品" class="btn btn-default" ng-click="add()" style="margin-left:20px;">                        <span class="glyphicon glyphicon-plus" aria-hidden="true"></span> 新增                    </button>                    <button type="button" sensors-enabled="true" sensors-event-name="ExpenditureList" sensors-event-type="导入商城物品" class="btn btn-default" ares-slow-click="exportInventoryProduct()" ares-authorize="expendCenter.listExcel" style="margin-left:15px;" ng-disabled="pageExpenditures.items.length <= 0">                        导出Excel                    </button>                </td>            </tr>        </table>    </div>    <div style="margin-top:5px;">        <div id="expenditureList" class="expend-data-table" ng-show="!isEmpty">            <table style="width:100%;">                <tr style="height:35px;border-top:2px solid #00a7c6;border-bottom:1px solid #00a7c6">                    <th width="10%">序号</th>                    <th width="10%">时间</th>                    <th width="10%">经办人</th>                    <th width="10%">负责人</th>                    <th width="10%">支出类别</th>                    <th width="10%">支出明细</th>                    <th width="10%">金额</th>                    <th width="10%">支付方式</th>                    <th width="10%">备注</th>                    <th width="10%">操作</th>                </tr>            </table>            <div style="overflow-x:auto" id="list-body">                <table style="width:100%;font-weight:initial;">                    <tr style="height:45px;border-bottom:1px solid #e6e4e1" ng-repeat="item in pageExpenditures.items">                        <td width="10%">{{$index + 1}}</td>                        <td width="10%">{{item.expendTime|toLongDateMMString}}</td>                        <td width="10%">{{item.operatorName}}</td>                        <td width="10%">{{item.principalName}}</td>                        <td width="10%">{{item.expendType}}</td>                        <td width="10%">{{item.expendDetail}}</td>                        <td width="10%">￥{{item.amount}}</td>                        <td width="10%">{{item.payType}}</td>                        <td width="10%">{{item.notes}}</td>                        <td width="10%">                            <label style="color:#77dfea;font-weight:normal;margin-bottom:0px;">                                <a ng-click="browse(item.id)" sensors-enabled="true" sensors-event-name="ExpenditureList" sensors-event-type="查看">查看</a> |                                <a ng-click="edit(item.id)" sensors-enabled="true" sensors-event-name="ExpenditureList" sensors-event-type="编辑">编辑</a> |                                <a ng-click="deleteData(item.id)" sensors-enabled="true" sensors-event-name="ExpenditureList" sensors-event-type="删除">删除</a>                            </label>                        </td>                    </tr>                </table>            </div>            <table style="width:100%;">                <tr style="height:45px;border-top:1px solid #00a7c6;border-bottom:1px solid #00a7c6">                    <th width="10%">小计</th>                    <th width="10%"></th>                    <th width="10%"></th>                    <th width="10%"></th>                    <th width="10%"></th>                    <th width="10%"></th>                    <th width="10%">￥{{pageData.subtotal}}</th>                    <th width="10%"></th>                    <th width="10%"></th>                    <th width="10%"></th>                </tr>            </table>        </div>        <div style="width: 100%;margin-top:10px;">            <div style="text-align: center;">                <div pagination                     total-items="pageExpenditures.totalCount"                     items-per-page="pageExpenditures.pageSize"                     ng-model="pageIndex" ng-change="onPageChanged(pageIndex)"                     max-size="maxPageCount"                     first-text="第一页"                     previous-text="前一页"                     next-text="后一页"                     last-text="最后一页"                     rotate="true"                     class="pagination" boundary-links="true" style="margin:0;height:36px;"></div>                <ul class="pagination" style="margin:0">                    <li class="disabled">                        <a style="padding: 0;padding-left: 5px;padding-right: 5px;">                            每页                            <input kendo-numeric-text-box k-min="1" k-max="50" k-ng-model="pageSize" style="width:63px;" k-on-change="search(pageSize)" k-options="{format: \'#\', decimals:0}" />                            条                        </a>                    </li>                </ul>                <ul class="pagination" style="margin:0"><li class="disabled"><a style="height:36px;">共{{pageExpenditures.totalCount}}条</a></li></ul>            </div>        </div>    </div>    <div style="height:55px;margin-top:20px;background-color:#fff4e0;margin-bottom: 5px;position: absolute;bottom: 0;overflow: hidden;width:98.5%">        <span style="font-size: 15px;font-weight: bold;line-height:55px;margin-left:20px;">总计</span>        <div style="float:right;margin-right:20px;">            <span style="font-size: 15px;font-weight: bold;line-height:55px;margin-left:20px;">合计支出金额：</span>            <span style="font-size: 15px;font-weight: bold;line-height:55px;margin-left:5px; color:#00b099">￥{{pageData.totalAmount}}</span>        </div>    </div>    <notification-upload-success></notification-upload-success></div>');templateCache.put('/app/management/views/export/backup-data-container-view.html','<div class="backup-data-container-view enyo" ares-clean-kendo="removeKendoPopups">    <style scoped>        .backup-data-container-view .timer-range-picker-wrapper * {            box-sizing: border-box !important;        }        .backup-data-container-view .k-grid .edit-button {            margin-left: 10px;            margin-right: 0;        }        .backup-data-container-view .btn.icon-btn.btn-sm.edit-button .iconfont {            font-size: 16px;        }        .enyo.backup-data-container-view .k-grid .k-grid-content table tbody tr td {           height: auto;        }        .backup-data-container-view .dropdown-menu li {            line-height: 32px;            padding-left: 10px;            cursor: pointer;        }        .backup-data-container-view .dropdown-menu li:hover {            color:#00a6c9;        }        .backup-data-container-view  .table-column-config-view .custom-columns-body-container .custom-columns-body .column-label {            width:168px !important;            height: 38px !important;        }        .backup-data-container-view .ares-switch {            min-width: 70px;        }        .backup-data-container-view .ares-switch .ares-switch-label {            min-width: 25px;        }    </style>    <div class="search-container">        <reportv2-search-condition-view></reportv2-search-condition-view>    </div><!--搜索条件及顶部btns-->    <div style="display:inline-block; width:100%;">        <ares-switch style="float:right; margin-right:36px;" value="item.isBackup" on-label="开" off-label="关" on-change="onPageBackupChanged(value)"></ares-switch>        <span style="float:right; line-height:32px; margin-right:6px;">当前页全部备份</span>    </div>    <div class="list-main">        <reportv2-list-view></reportv2-list-view>    </div><!--列表-->    <div class="pre-defined-columns">        <template column-field="oper">            <ares-switch value="item.isBackup" on-label="开" off-label="关" on-change="onBackupChanged(item)"></ares-switch>        </template>    </div></div>');templateCache.put('/app/management/views/export/export-home-view.html','<div class="workflow-management-nav export-home-view" ares-clean-kendo>    <ares-tab states="states" root-state="exportCenter" class="workflow-tab"></ares-tab></div>');templateCache.put('/app/management/views/export/health-bureau-data-export-shenzhen-view.html','<div class="health-bureau-data-export-shenzhen-view enyo">    <style scoped>        .health-bureau-data-export-shenzhen-view .export-container-body .error-tag {            color: #BFBFBF;        }    </style>    <div class="export-container-header">        <div style="height:40px;margin-top:5px">            <div class="input-group input-group-clean pull-left">                <label>数据上传日期</label>                <input type="text"                       kendo-date-picker ng-model="uploadStartTime"                       k-format="\'yyyy-MM-dd\'" k-culture="zh-CN"                       style="width: 140px; margin-left:5px; margin-right:15px">-                <input type="text"                       kendo-date-picker ng-model="uploadEndTime"                       k-format="\'yyyy-MM-dd\'" k-culture="zh-CN"                       style="width: 140px; margin-left:5px; margin-right:15px">                <button class="btn btn-primary" ares-click="refreshData()">查询</button>            </div>        </div>    </div>    <div class="export-container-body">        <div class="health-bureau-data-grid" id="healthBureauDataGrid"></div>        <div class="table-footer lc-table-footer">            <div pagination total-items="pageData.totalCount" items-per-page="pageData.pageSize" ng-model="pageData.pageIndex" ng-change="onPageChanged(pageData.pageIndex)" max-size="10" first-text="第一页" previous-text="前一页" next-text="后一页" last-text="最后一页" rotate="true"                 class="pagination new-page-color" boundary-links="true" style="margin:0;"></div>            <ul class="pagination new-page-color pagination-to-page" style="margin:0">                <li class="disabled">                    <a style="padding: 0;padding-left: 5px;padding-right: 5px;">                        每页                        <input kendo-numeric-text-box k-min="1" k-max="50" k-ng-model="pageData.pageSize" style="width:63px;" k-on-change="onPageSizeChanged(pageData.pageSize)" k-options="{format: \'#\', decimals:0}" />                        条                    </a>                </li>            </ul>            <ul class="pagination" style="margin:0">                <li class="disabled"><a>共{{pageData.totalCount}}条</a></li>            </ul>        </div>    </div></div>');templateCache.put('/app/management/views/export/health-bureau-data-export-view.html','<div class="health-bureau-data-export-view enyo">    <style scoped>        .health-bureau-data-export-view {            margin-top: -5px;        }            .health-bureau-data-export-view .export-container-body .error-tag {                color: #BFBFBF;            }            .health-bureau-data-export-view .export-container-header {                margin-top: -10px;            }                .health-bureau-data-export-view .export-container-header #officeInfo .pull-left button {                    border: 1px solid #ddd;                    color: black;                }    </style>    <div class="export-container-header">        <div id="officeInfo" style="height:45px; border-bottom:1px dashed #ddd">            <div class="pull-left" style="margin-top:6px">                <span>机构名称：</span><span style="display:inline-block;width:300px;margin-left:5px">{{office.abbreviation || office.name}}</span>                <span>机构代码：</span><span style="display:inline-block;width:220px;margin-left:5px">{{office.institutionCode}}</span>                <button class="btn btn-default btn-wide" ares-click="editOffice()">修改机构信息</button>            </div>            <div class="pull-left" style="margin-left:100px;margin-top:6px;">                <table style="height:32px">                    <tr>                        <td>                            VPN账号：                        </td>                        <td ng-show="isEditHealthBureau">                            <input class="form-control" ng-model="vpnAccount" style="margin-left:5px;width:180px;height:32px">                        </td>                        <td ng-show="!isEditHealthBureau">                            <span style="display:inline-block;width:180px;margin-left:5px;margin-right:5px">{{vpnAccount}}</span>                        </td>                        <!--<td>                            标准科室分类：                        </td>                        <td ng-show="isEditHealthBureau">                            <input class="form-control" id="healthBureauDepartment" ng-model="healthBureauDepartment.code" style="margin-left:5px;width:180px;height:32px">                        </td>                        <td ng-show="!isEditHealthBureau">                            <span style="display:inline-block;width:180px;margin-left:5px">{{healthBureauDepartment.name}}</span>                        </td>-->                        <td>                            <span ng-if="!isEditHealthBureau" style="cursor:pointer;color:#00A6C9;margin-left:5px" ares-click="editHealthBureau()">编辑</span>                            <span ng-if="isEditHealthBureau" style="cursor:pointer;color:#00A6C9;margin-left:5px" ares-click="saveHealthBureau()">保存</span>                            <span ng-if="isEditHealthBureau" style="cursor:pointer;color:#00A6C9;margin-left:5px" ares-click="cancelHealthBureau()">取消</span>                        </td>                    </tr>                </table>            </div>        </div>        <div style="height:40px;margin-top:5px">            <div class="input-group input-group-clean pull-left">                <label>数据下载日期</label>                <input type="text"                       kendo-date-picker ng-model="exportDate"                       k-format="\'yyyy-MM-dd\'" k-culture="zh-CN"                       style="width: 140px; margin-left:5px; margin-right:15px">                <button class="btn btn-primary" ng-disabled="createTaskButtonDisabled" ares-click="createTask()">生成</button>                <div ng-if="createTaskButtonDisabled" style="display:inline-block;width:280px">10分钟内不得重复提交 时间剩余 {{remainTime}}</div>            </div>            <div class="pull-right">                <button class="btn btn-primary" ares-click="refreshData()">刷新</button>            </div>        </div>    </div>    <div class="export-container-body">        <div class="health-bureau-data-grid" id="healthBureauDataGrid"></div>        <div class="table-footer lc-table-footer">            <div pagination total-items="pageData.totalCount" items-per-page="pageData.pageSize" ng-model="pageData.pageIndex" ng-change="onPageChanged(pageData.pageIndex)" max-size="10" first-text="第一页" previous-text="前一页" next-text="后一页" last-text="最后一页" rotate="true"                 class="pagination new-page-color" boundary-links="true" style="margin:0;"></div>            <ul class="pagination new-page-color pagination-to-page" style="margin:0">                <li class="disabled">                    <a style="padding: 0;padding-left: 5px;padding-right: 5px;">                        每页                        <input kendo-numeric-text-box k-min="1" k-max="50" k-ng-model="pageData.pageSize" style="width:63px;" k-on-change="onPageSizeChanged(pageData.pageSize)" k-options="{format: \'#\', decimals:0}" />                        条                    </a>                </li>            </ul>            <ul class="pagination" style="margin:0">                <li class="disabled"><a>共{{pageData.totalCount}}条</a></li>            </ul>        </div>    </div></div>');templateCache.put('/app/management/views/followup/followup-auto-rule-list-view.html','<div class="followup-template-list-view enyo" ares-clean-kendo>    <style scoped>        .followup-template-list-view a.action {            color: #575D6A;            margin-left: 10px;        }        .followup-template-list-view .table-header {            margin-top: 10px;        }            .followup-template-list-view .table-header table {                width: 100%;                background-color: #00a6c9;            }                .followup-template-list-view .table-header table th {                    font-size: 14px;                    color: white;                    text-align: left;                }        .followup-template-list-view .table-body {            overflow-x: auto;            border-bottom: 1px solid #D6D9DF;            border-left: 1px solid #D6D9DF;            border-right: 1px solid #D6D9DF;        }            .followup-template-list-view .table-body table {                width: 100%;                font-weight: initial;            }                .followup-template-list-view .table-body table tr {                    border-top: 1px solid #D6D9DF;                    border-bottom: 1px solid #D6D9DF;                    height: 40px;                }                    .followup-template-list-view .table-body table tr.selected {                        background-color: #e0faff;                    }        .followup-template-list-view .pager-action {            width: 100%;            padding-top: 5px;            background-color: #f5f5f5;            border-bottom: 1px solid #D6D9DF;            border-left: 1px solid #D6D9DF;            border-right: 1px solid #D6D9DF;        }    </style>    <div class="followup-template-list-view-container">        <div class="followup-template-list-operations clearfix" style="margin-left:10px;margin-top:10px;">            <div class="enyo-radio-btn-group" style="float:left">                <span>触发条件</span>                <input type="radio" id="ruleSubType" ng-click="refreshGrid()" value="-1" ng-model="criteria.ruleSubType" name="followupRuleSubType" >                <label for="ruleSubType">全部</label>                <input type="radio" id="ruleSubType1" ng-click="refreshGrid()" value="1" ng-model="criteria.ruleSubType" name="followupRuleSubType">                <label for="ruleSubType1">按就诊类型</label>                <input type="radio" id="ruleSubType2" ng-click="refreshGrid()" value="0" ng-model="criteria.ruleSubType" name="followupRuleSubType" checked>                <label for="ruleSubType2">按就诊内容</label>            </div>            <div ng-if="isAllowEditAutoRule" style="float:right;">                <button ng-show="criteria.ruleSubType!=-1" class="btn btn-default" ng-repeat="ele in elementStates" ng-disabled="ele.disabled" ng-click="ele.onClick()">{{ele.text}}</button>                <button class="btn btn-primary pull-right" style="margin-left:20px;" ng-click="onAddFollowupAutoRule()">新增</button>            </div>        </div>        <div class="table-header">            <table>                <tr style="height: 33px;">                    <th style="width:10%;text-align:center;">序号</th>                    <th style="width:20%">规则名称</th>                    <th style="width:15%">触发类型</th>                    <th style="width:10%">节点数</th>                    <th style="width:10%">类型</th>                    <th style="width:15%;text-align:center;">是否启用</th>                    <th style="width:20%;text-align:center;">操作</th>                </tr>            </table>        </div>        <div class="table-body" ng-style="listHeight">            <table style="table-layout: fixed">                <tr ng-if="pagedFollowupAutoRules.length==0">                    <td colspan="5" style="text-align:center">无记录</td>                </tr>                <tr ng-repeat="autoRule in pagedFollowupAutoRules" ng-class="selectedRow==$index? \'selected\':\'\'" ng-click="selectRow($index)">                    <td style="width:10%;text-align:center;">                        <span class="enyo-single-line-text">{{$index+1}}</span>                    </td>                    <td style="width:20%">                        <span class="enyo-single-line-text">{{autoRule.ruleName}}</span>                    </td>                    <td style="width:15%">                        <span class="enyo-single-line-text">{{autoRule.ruleSubType==0?"就诊内容":"就诊类型"}}</span>                    </td>                    <td style="width:10%">                        <span class="enyo-single-line-text">{{autoRule.actionCount}}</span>                    </td>                    <td style="width:10%">                        <span class="enyo-single-line-text">{{autoRule.isDefault?"系统":"自定义"}}</span>                    </td>                    <td style="width:15%;text-align:center;">                        <ares-switch value="autoRule.isEnabled"                                     is-disabled="{{isAllowEditAutoRule?\'false\':\'true\'}}"                                     on-change="onSwitchChanged(autoRule)"></ares-switch>                    </td>                    <td style="width:20%;">                        <div style="margin-left:45%">                            <a title="编辑" class="action" ng-click="onEditFollowupAutoRule(autoRule.id)" ng-if="isAllowEditAutoRule">                                <i class="iconfont icon-bianji"></i>                            </a>                            <a title="查看" class="action" ng-click="onViewFollowupAutoRule(autoRule.id)">                                <i class="iconfont icon-chakan"></i>                            </a>                            <a title="删除" class="action" ng-hide="autoRule.isDefault" ng-click="onDeleteFollowupAutoRule(autoRule)" ng-if="isAllowEditAutoRule">                                <i class="iconfont icon-shanchu"></i>                            </a>                            <a title="日志" class="action"ng-click="viewOperationLog(autoRule)">                                <i class="iconfont icon-rizhi"></i>                            </a>                        </div>                    </td>                </tr>            </table>        </div>        <div class="pager-action" style="display:none;">            <div style="text-align: center;">                <div pagination total-items="totalCount"                     items-per-page="pageSize"                     ng-model="pageIndex" ng-change="refreshGrid()"                     max-size="15"                     first-text="第一页"                     previous-text="前一页"                     next-text="后一页"                     last-text="最后一页"                     rotate="true"                     class="pagination new-page-color" boundary-links="true" style="margin:0;"></div>                <ul class="pagination new-page-color" style="margin:0">                    <li class="disabled">                        <a style="padding: 0;padding-left: 5px;padding-right: 5px;">                            每页                            <input kendo-numeric-text-box k-min="1" k-max="50" k-ng-model="pageSize"                                   style="width:63px;" k-on-change="refreshGrid()"                                   k-options="{format: \'#\', decimals:0}" />                            条                        </a>                    </li>                </ul>                <ul class="pagination new-page-color" style="margin:0">                    <li class="disabled">                        <a>共{{totalCount}}条</a>                    </li>                </ul>            </div>        </div>    </div></div>');templateCache.put('/app/management/views/followup/followup-config-view.html','<div class="ares-main-content" ares-clean-kendo>    <div style="margin-top:20px;padding-left:20px;">        <table>            <tr>                <td>                    <div>                        <label class="col-sm-10 control-label" style="width:150px;margin-left:-18px;">自动随访服务</label>                    </div>                    <span class="glyphicon glyphicon-question-sign" style=" float: right; top:4px; right: 30px;"                          tooltip="启用之后，每天晚上12点由系统根据过去24小时内就诊的患者自动产生每次就诊后的第一个随访节点（24小时随访）"                          tooltip-placement="bottom-left" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter"></span>                </td>                <td>                    <div>                        <label class="radio-inline">                            <input type="radio" name="apptTitleColor" ng-value="true" ng-disabled="!isEdit" ng-model="followupConfig.isAutoFollowupEnabled" sensors-enabled="true" sensors-event-name="FollowupConfig" sensors-event-type="启用">启用                        </label>                        <label class="radio-inline">                            <input type="radio" name="apptTitleColor" ng-value="false" ng-disabled="!isEdit" ng-model="followupConfig.isAutoFollowupEnabled" sensors-enabled="true" sensors-event-name="FollowupConfig" sensors-event-type="禁用">禁用                        </label>                    </div>                </td>            </tr>        </table>    </div>    <div class="form-group" style="padding-left:20px;margin-top:30px;margin-left:50px;">        <button type="button"  sensors-enabled="true" sensors-event-name="FollowupConfig" sensors-event-type="编辑" class="btn btn-primary" ng-show="!isEdit" ng-click="editConfig()">编辑</button>        <button type="button"  sensors-enabled="true" sensors-event-name="FollowupConfig" sensors-event-type="保存" class="btn btn-primary" ng-show="isEdit" ng-click="save()">保存</button>        <button type="button"  sensors-enabled="true" sensors-event-name="FollowupConfig" sensors-event-type="取消" class="btn btn-default" ng-show="isEdit" ng-click="cancel()">取消</button>    </div></div>');templateCache.put('/app/management/views/followup/followup-content-edit-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">{{title}}</h4>    </div>    <div class="modal-body ares-dialog-body" style="padding:5px;">        <table style="width:100%;margin:10px;">            <tr style="line-height:50px;">                <td ><label>名称&nbsp;&nbsp;</label></td>                <td>                    <input type="text" id="contentName" class="form-control" ng-model="followupContent.name" style="width:250px;">                </td>            </tr>            <tr >                <td><label>内容&nbsp;&nbsp;</label></td>                <td>                    <textarea style="max-width:300px;width:250px;" rows="5" id="content" ng-model="followupContent.content"></textarea>                </td>            </tr>        </table>    </div>    <div class="modal-footer ares-dialog-footer">        <button type="button" style="margin-right:10px;" class="btn btn-default" ng-click="cancel()">取消</button>        <button type="button" id="saveBtn" class="btn btn-primary" ng-click="onSave()">保存</button>    </div></div>');templateCache.put('/app/management/views/followup/followup-content-list-view.html','<div class="ares-main-content" ares-clean-kendo>       <div class="ares-page-header" style="height: 38px;padding-left:10px;margin-top:10px;">        <div class="pull-left">            <button type="button" style="margin-right:10px;" class="btn btn-default" ng-click="add()">                <span class="glyphicon glyphicon-plus-sign"></span>新增            </button>        </div>        <div class="pull-right">            <button type="button" class="btn btn-default" ng-click="move(-1)" ng-disabled="!selectedItem||isDisableMoveUp">                上移            </button>            <button type="button" class="btn btn-default" ng-click="move(1)" ng-disabled="!selectedItem||isDisableMoveDown">                下移            </button>        </div>    </div>    <div style="margin-top:5px;" id="followupContentList" ng-style="listHeight"></div>    <h2 ng-show="!followupContents.length>0">没有找到符合的随访内容</h2></div>');templateCache.put('/app/management/views/followup/followup-home-view.html','<ares-tab states="states" root-state="followupCenter"></ares-tab>');templateCache.put('/app/management/views/followup/followup-result-list-view.html','<div class="ares-main-content" ares-clean-kendo>    <div class="ares-page-header" style="height: 38px;padding-left:10px;margin-top:10px;">        <div class="pull-left">            <button type="button" style="margin-right:10px;" class="btn btn-default" ng-click="add()" sensors-enabled="true" sensors-event-name="FollowupResultList" sensors-event-type="新增">                <span class="glyphicon glyphicon-plus-sign"></span>新增            </button>        </div>        <div class="pull-right">            <button type="button" class="btn btn-default" ng-click="move(-1)" ng-disabled="!selectedItem" sensors-enabled="true" sensors-event-name="FollowupResultList" sensors-event-type="上移">                上移            </button>            <button type="button" class="btn btn-default" ng-click="move(1)" ng-disabled="!selectedItem" sensors-enabled="true" sensors-event-name="FollowupResultList" sensors-event-type="下移">                下移            </button>        </div>    </div>    <div style="margin-top:10px;" id="followupContentList" ng-style="listHeight"></div>    <h2 ng-show="!followupContents.length>0">没有找到符合的随访结果</h2></div>');templateCache.put('/app/management/views/followup/followup-rule-edit-view.html','<div ares-modal-dragable ares-clean-kendo>    <style scoped>        .private-id-rule-list-dialog .modal-dialog .modal-content {            width: 720px;        }    </style>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">{{title}}</h4>    </div>    <div class="modal-body ares-dialog-body" style="padding:5px;">        <table style="margin:20px;">            <tr>                <td>                    <label class="control-label" style="margin-top:5px">模版名称</label>                </td>                <td>                    <input id="ruleName" type="text" class="form-control" ng-model="followupRule.ruleName" ng-disabled="isDisable" style="width:400px;max-width:400px;margin-left:20px;" />                </td>            </tr>        </table>        <div class="panel panel-primary">            <div class="panel-heading" style="padding: 5px;">                <table style="width:100%;">                    <tr>                        <td style="width:50%;">模版内容</td>                    </tr>                </table>            </div>            <div class="panel-body" style="padding:5px;">                <table class=" table table-striped table-bordered" style="margin:0px;table-layout: fixed;">                    <thead>                        <tr>                            <th style="text-align:center;width:80px;">类型</th>                            <th style="text-align:center;width:420px;">项目/大类</th>                            <th style="text-align:center;width:50px;">操作</th>                        </tr>                    </thead>                    <tbody>                        <tr>                            <td style="text-align:center">收费项目</td>                            <td id="chargeItem_td" style="text-align:center;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;">{{chargeItemNames}}</td>                            <td style="width:50px;text-align:center;">                                <button type="button" style="margin:0px;margin-right:5px;" ng-disabled="isDefaultRule" class="btn btn-default btn-xs" ng-click="addDetail(\'chargeItem\')">                                    <span class="glyphicon glyphicon-plus-sign"></span>                                </button>                            </td>                        </tr>                        <tr>                            <td style="text-align:center">收费大类</td>                            <td id="chargeCategory_td" style="text-align:center;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;">{{chargeTypeNames}}</td>                            <td style="width:50px;text-align:center;">                                <button type="button" style="margin:0px;margin-right:5px;" ng-disabled="isDefaultRule" class="btn btn-default btn-xs" ng-click="addDetail(\'chargeCategory\')">                                    <span class="glyphicon glyphicon-plus-sign"></span>                                </button>                            </td>                        </tr>                        <tr>                            <td style="text-align:center">预约项目</td>                            <td id="transactioncode_td" style="text-align:center;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;">{{apptItemNames}}</td>                            <td style="width:50px;text-align:center;">                                <button type="button" style="margin:0px;margin-right:5px;" ng-disabled="isDefaultRule" class="btn btn-default btn-xs" ng-click="addDetail(\'transactioncode\')">                                    <span class="glyphicon glyphicon-plus-sign"></span>                                </button>                            </td>                        </tr>                        <tr>                            <td style="text-align:center">预约大类</td>                            <td id="apptCategory_td" style="text-align:center;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;">{{apptTypeNames}}</td>                            <td style="width:50px;text-align:center;">                                <button type="button" style="margin:0px;margin-right:5px;" ng-disabled="isDefaultRule" class="btn btn-default btn-xs" ng-click="addDetail(\'apptCategory\')">                                    <span class="glyphicon glyphicon-plus-sign"></span>                                </button>                            </td>                        </tr>                    </tbody>                </table>            </div>        </div>        <div class="panel panel-primary">            <div class="panel-body" style="padding: 5px;">                <table>                    <tr>                        <td style="width:160px"><label class="control-label">请选择随访计划时间模式</label></td>                        <td style="padding-left:10px">                            <input type="radio" name="timeMode" id="timeMode_1" ng-value="1" ng-model="followupRule.timeMode" ng-disabled="isEdit">                            <label for="timeMode_1" style="font-weight:normal">绝对时间模式</label>                        </td>                        <td style="padding-left:10px">                            <input type="radio" name="timeMode" id="timeMode_0" ng-value="0" ng-model="followupRule.timeMode" ng-disabled="isEdit">                            <label for="timeMode_0" style="font-weight:normal">相对时间模式</label>                        </td>                    </tr>                    <tr>                        <td style="width:160px"><label class="control-label">请选择创建随访计划方式</label></td>                        <td style="padding-left:10px">                            <input type="radio" name="creationMode" id="creationMode_1" ng-value="1" ng-model="followupRule.creationMode" ng-disabled="isEdit">                            <label for="creationMode_1" style="font-weight:normal">一次性创建所有随访计划</label>                        </td>                        <td style="padding-left:10px">                            <input type="radio" name="creationMode" id="creationMode_0" ng-value="0" ng-model="followupRule.creationMode" ng-disabled="isEdit">                            <label for="creationMode_0" style="font-weight:normal"> 待上次随访计划完成，再生成下次随访计划</label>                        </td>                    </tr>                </table>            </div>        </div>        <div class="panel panel-primary">            <div class="panel-heading" style="padding: 5px;">                <table style="width:100%;">                    <tr>                        <td style="width:50%;">                            <span>节点内容</span>                            <span>{{todayDate}}</span>                        </td>                        <td style="width:50%;text-align:right;">                            <button type="button" style="margin:0px;margin-right:5px;" class="btn btn-default btn-sm" ng-click="onAddRow()">                                <span class="glyphicon glyphicon-plus-sign"></span>添加                            </button>                        </td>                    </tr>                </table>            </div>            <div class="panel-body" style="padding: 5px;">                <table class=" table table-striped table-bordered" style="margin:0px;">                    <thead>                        <tr>                            <th style="text-align:center">序号</th>                            <th style="text-align:center">节点</th>                            <th style="text-align:center">随访内容模版</th>                            <!--<th style="text-align:center">发送短信</th>                            <th style="text-align:center">短信模版</th>-->                            <th style="text-align:center">随访角色</th>                            <th style="text-align:center">操作</th>                        </tr>                    </thead>                    <tbody>                        <tr ng-repeat=" item in followupRule.followupRuleActions">                            <td style="text-align:center; vertical-align:middle">{{item.showOrder}}</td>                            <td style="text-align:center">                                <div style="display:inline; width:280px">                                    <span>{{item.afterChangeDate}}</span>                                    <div style="display: inline-block;" ng-if="item.unit==\'天\'">                                        <input id="dueDay{{item.showOrder}}" style="width: 80px;  display: inline;cursor:pointer" kendo-numeric-text-box="item.numeric"                                               k-min="1" k-max="365" k-step="1" k-options="{format: \'#\', decimals:0}"                                               ng-model="item.dueTime" ng-change="changeDate(item)" k-on-spin="changeDate(item, true)" />                                    </div>                                    <div style="display: inline-block;" ng-if="item.unit==\'月\'">                                        <input id="dueMonth{{item.showOrder}}" style="width: 80px;  display: inline;cursor:pointer" kendo-numeric-text-box="item.numeric"                                               k-min="1" k-max="999" k-step="1" k-options="{format: \'#\', decimals:0}"                                               ng-model="item.dueTime" ng-change="changeDate(item)" k-on-spin="changeDate(item, true)" />                                    </div>                                    <select id="unit{{item.showOrder}}" class="not-ignore" ng-model="item.unit" k-on-change="changeDate(item)" kendo-drop-down-list style=" width:60px">                                        <option value="天">天</option>                                        <option value="月">月</option>                                    </select>                                </div>                            </td>                            <td style="text-align:center">                                <input id="itemName{{item.showOrder}}" type="text" ng-model="item.followupContentId" />                            </td>                            <td style="text-align:center">                                <input id="actorJob{{item.showOrder}}" type="text" ng-model="item.actorJob" style="width:120px" />                            </td>                            <!--<td style="text-align:center">                                <input id="sendMsg{{item.showOrder}}" ng-click="onDisabled(item.showOrder)" type="checkbox" style=" width: 20px;height: 20px;padding:0;">                            </td>                            <td style="text-align:center">                                <input id="shortMessageTemplate{{item.showOrder}}" type="text" ng-model="item.itemName">                            </td>-->                            <td style="text-align:center;">                                <button type="button" style="margin:0px;margin-right:5px;" class="btn btn-default btn-sm" ng-click="onDelRow(item.showOrder)">                                    <span class="glyphicon glyphicon glyphicon-remove"></span>                                </button>                            </td>                        </tr>                    </tbody>                </table>            </div>        </div>    </div>    <div class="modal-footer ares-dialog-footer">        <button type="button" style="margin-right:10px;" class="btn btn-default" ng-click="cancel()">取消</button>        <button type="button" id="saveBtn" class="btn btn-primary" ng-click="onSave()">保存</button>    </div></div>');templateCache.put('/app/management/views/followup/followup-rule-list-view.html','<div class="ares-main-content" ares-clean-kendo>    <div class="ares-page-header">        <button type="button" style="margin-right:10px;" class="btn btn-default" ng-click="add()"  sensors-enabled="true" sensors-event-name="FollowupRuleList" sensors-event-type="新增">            <span class="glyphicon glyphicon-plus-sign"></span>新增        </button>        <button class="btn btn-primary" ng-click="up()"  sensors-enabled="true" sensors-event-name="FollowupRuleList" sensors-event-type="上移">上移</button>        <button class="btn btn-primary" ng-click="down()"  sensors-enabled="true" sensors-event-name="FollowupRuleList" sensors-event-type="下移">下移</button>    </div>    <div style="margin-top:10px;" id="followupRuleList" class="ares-grid"></div>    <h2 ng-show="!followupRules.length>0">没有找到符合的随访模版</h2></div>');templateCache.put('/app/management/views/followup/followup-template-list-view.html','<div class="followup-template-list-view enyo" ares-clean-kendo>    <style scoped>        .followup-template-list-view a.action {            color: #575D6A;            margin-left: 10px;        }        .followup-template-list-view .table-header {            margin-top: 10px;        }            .followup-template-list-view .table-header table {                width: 100%;                background-color: #00a6c9;            }                .followup-template-list-view .table-header table th {                    font-size: 14px;                    color: white;                    text-align: left;                }        .followup-template-list-view .table-body {            overflow-x: auto;            border-bottom: 1px solid #D6D9DF;            border-left: 1px solid #D6D9DF;            border-right: 1px solid #D6D9DF;        }            .followup-template-list-view .table-body table {                width: 100%;                font-weight: initial;            }                .followup-template-list-view .table-body table tr {                    border-top: 1px solid #D6D9DF;                    border-bottom: 1px solid #D6D9DF;                    height: 40px;                }                    .followup-template-list-view .table-body table tr.selected {                        background-color: #e0faff;                    }        .followup-template-list-view .pager-action {            width: 100%;            padding-top: 5px;            background-color: #f5f5f5;            border-bottom: 1px solid #D6D9DF;            border-left: 1px solid #D6D9DF;            border-right: 1px solid #D6D9DF;        }    </style>    <div class="followup-template-list-view-container">        <div class="followup-template-list-operations clearfix" style="margin-left:10px;margin-top:10px;" ng-if="isAllowEdit">            <button class="btn btn-default" ng-repeat="ele in elementStates" ng-disabled="ele.disabled" ng-click="ele.onClick()">{{ele.text}}</button>            <button class="btn btn-primary pull-right" ng-click="onAddFollowupTemplate()">新增</button>        </div>        <div class="table-header">            <table>                <tr style="height: 33px;">                    <th style="width:10%;text-align:center;">序号</th>                    <th style="width:30%">模板名称</th>                    <th style="width:20%">类型</th>                    <th style="width:20%;text-align:center;">是否启用</th>                    <th style="width:20%;text-align:center;">操作</th>                </tr>            </table>        </div>        <div class="table-body" ng-style="listHeight">            <table style="table-layout: fixed">                <tr ng-if="pagedFollowupTemplates.length==0">                    <td colspan="5" style="text-align:center">无记录</td>                </tr>                <tr ng-repeat="template in pagedFollowupTemplates" ng-class="selectedRow==$index? \'selected\':\'\'" ng-click="selectRow($index)">                    <td style="width:10%;text-align:center;">                        <span class="enyo-single-line-text">{{$index+1}}</span>                    </td>                    <td style="width:30%">                        <span class="enyo-single-line-text">{{template.ruleName}}</span>                    </td>                    <td style="width:20%">                        <span class="enyo-single-line-text">{{template.isDefault?"系统":"自定义"}}</span>                    </td>                    <td style="width:20%;text-align:center;">                        <ares-switch is-disabled="{{!isAllowEdit}}" value="template.isEnabled" on-change="onSwitchChanged(template)"></ares-switch>                    </td>                    <td style="width:20%;">                        <div ng-if="isAllowEdit">                            <a title="编辑" style="margin-left:45%;" class="action" ng-click="onEditFollowupTemplate(template.id)">                                <i class="iconfont icon-bianji"></i>                            </a>                            <a title="删除" class="action" ng-hide="template.isDefault" ng-click="onDeleteFollowupTemplate(template)">                                <i class="iconfont icon-shanchu"></i>                            </a>                            <a title="日志" class="action" ng-click="viewOperationLog(template)">                                <i class="iconfont icon-rizhi"></i>                            </a>                        </div>                    </td>                </tr>            </table>        </div>        <div class="pager-action" style="display:none;">            <div style="text-align: center;">                <div pagination total-items="totalCount"                     items-per-page="pageSize"                     ng-model="pageIndex" ng-change="refreshGrid()"                     max-size="15"                     first-text="第一页"                     previous-text="前一页"                     next-text="后一页"                     last-text="最后一页"                     rotate="true"                     class="pagination new-page-color" boundary-links="true" style="margin:0;"></div>                <ul class="pagination new-page-color" style="margin:0">                    <li class="disabled">                        <a style="padding: 0;padding-left: 5px;padding-right: 5px;">                            每页                            <input kendo-numeric-text-box k-min="1" k-max="50" k-ng-model="pageSize"                                   style="width:63px;" k-on-change="refreshGrid()"                                   k-options="{format: \'#\', decimals:0}" />                            条                        </a>                    </li>                </ul>                <ul class="pagination new-page-color" style="margin:0">                    <li class="disabled">                        <a>共{{totalCount}}条</a>                    </li>                </ul>            </div>        </div>    </div></div>');templateCache.put('/app/management/views/followup/last-followup-report-view.html','<div class="ares-main-content" ares-clean-kendo>    <style>        .panel-input-group label {            margin-right: 10px;            font-weight: normal;        }    </style>    <div class="ares-page-header">        <ul class="flex-panel" style="">            <!--<td style="width:190px"><h1 style="margin:0">随访管理</h1></td>-->            <li class="flex-panel-item panel-input-group">                <label></label>                <span>                    <label class="radio-inline">                        <input type="radio" name="dateType" ng-value="true" ng-model="defaultSelect">下次随访时间                    </label><br />                    <label class="radio-inline">                        <input type="radio" name="dateType" ng-value="false" ng-model="defaultSelect">上次随访时间                    </label>                </span>                <div class="pull-left scheduler-button-container" style="top:0;">                    <timer-range-picker time-range-date="timeSpan"></timer-range-picker>                </div>            </li>            <li class="flex-panel-item panel-input-group">                <input class="form-control" style="width: 200px" id="filter" placeholder="患者/拼音/手机" ng-model="criteria.keyWord" />            </li>            <li class="flex-panel-item panel-input-group">                <label>上次随访人</label>                <div class="pull-left scheduler-button-container" style="top:0;">                    <input id="lastOtherProvider" type="text" class="form-control" style=" width:100px">                </div>            </li>            <li class="flex-panel-item panel-input-group">                <label>下次随访人</label>                <div class="pull-left scheduler-button-container" style="top:0;">                    <input id="otherProvider" type="text" class="form-control" style=" width:100px">                </div>            </li>            <li class="flex-panel-item panel-input-group">                <a class="btn btn-default" ares-slow-click="refreshGrid()">查询</a>                <button type="button" class="btn btn-default" ares-authorize="followup.lastExcel" ares-slow-click="exportFollowUp()" style="padding: 5px;">                    <span class="glyphicon glyphicon-export" aria-hidden="true"></span> 导出                </button>            </li>        </ul>    </div>    <script id="followuptemplate" type="text/x-kendo-template">        <a title="查看患者信息" onclick="FollowupPatientCtrl_goToPatient(this)">#: patientName #</a>    </script>    <div style="margin-top:5px;" id="lastFollowupList"></div></div>');templateCache.put('/app/management/views/group-revisit/group-auto-revisit-rule-view.html','<div class="group-auto-revisit-rule-view-container">    <style scoped>        .group-auto-revisit-rule-wrapper {            /*color: #575d6a;*/        }            .group-auto-revisit-rule-wrapper .auto-revisit-rule {                min-height: 290px;                min-width: 660px;                margin-top: 6px;                position: relative;            }            .group-auto-revisit-rule-wrapper .left-tab {                width: 180px;                background-color: white;            }                .group-auto-revisit-rule-wrapper .left-tab ul li {                    line-height: 50px;                    cursor: pointer;                    position: relative;                    margin-bottom: 2px;                    background-color: #F3F3F3;                    text-align: center;                }                    .group-auto-revisit-rule-wrapper .left-tab ul li.active {                        background-color: #00a6c9;                        color: #fff;                    }                        .group-auto-revisit-rule-wrapper .left-tab ul li.active::before {                            content: \'\';                            position: absolute;                            width: 0;                            height: 0;                            bottom: 0;                            border-top: 6px solid transparent;                            border-bottom: 6px solid transparent;                            border-left: 8px solid #00a6c9;                            right: 0;                            top: 50%;                            margin-right: -8px;                            margin-top: -6px;                        }            .group-auto-revisit-rule-wrapper .right-content {                min-width: 500px;                width: 700px;                min-height: 300px;                height: 400px;                border: 2px solid #EDEDED;                margin-left: 10px;            }            .group-auto-revisit-rule-wrapper .content-head {                margin: 16px;            }                .group-auto-revisit-rule-wrapper .content-head .title {                    padding-left: 7px;                    font-weight: bold;                    font-size: 20px;                }                .group-auto-revisit-rule-wrapper .content-head .oper-btn {                    margin-top: 7px;                    margin-left: 3px;                    color: #00a6c9;                }            .group-auto-revisit-rule-wrapper .content-body {                padding-left: 100px;            }                .group-auto-revisit-rule-wrapper .content-body .search-item {                    margin-bottom: 10px;                }                    .group-auto-revisit-rule-wrapper .content-body .search-item label {                        float: left;                        font-weight: normal;                        line-height: 32px;                        margin-right: 10px;                    }            .group-auto-revisit-rule-wrapper .config-on {                background: transparent url(/Content/imgs/config-on-off.png) no-repeat 0 0 !important;                width: 40px !important;                height: 18px !important;                background-size: cover;                transform: scale(1);                cursor: pointer;            }            .group-auto-revisit-rule-wrapper .config-off {                background: transparent url(/Content/imgs/config-on-off.png) no-repeat -40px 0 !important;                width: 40px !important;                height: 18px !important;                background-size: cover;                transform: scale(1);                cursor: pointer;            }            .group-auto-revisit-rule-wrapper .footer-oper-btn {                text-align: center;                margin-top: 20px;            }            .group-auto-revisit-rule-wrapper .left-tab .btnNew {                background-color: #00D2E5;                border-radius: 30px;                color: white;                width: 150px;                height: 42px;            }    </style>    <div class="group-auto-revisit-rule-wrapper">        <div class="warm-info">规则修改将在第二天生效</div>        <div class="auto-revisit-rule clearfix">            <div class="left-tab pull-left">                <ul>                    <li style="background-color:white">                        <button type="button" class="btn btn-info btnNew" ng-click="onAdd()">                            添加回访规则                        </button>                    </li>                    <li ng-click="onSelectedRule(item)" ng-repeat="item in revisitRules|orderBy:showOrder" ng-class="{\'active\':item.selected}">                        <span ng-bind-html="item.showName"></span>                    </li>                </ul>            </div>            <div class="right-content pull-left">                <div class="content-head ares-config-on-off clearfix">                    <div class="title pull-left">执行条件设置</div>                    <div class="oper-btn pull-right" style="margin-right:40px;margin-top:6px;" ng-style="{\'color\':selectedRule.isDisabled?\'#9397a2\':\'#00a6c9\'}">{{selectedRule.isDisabled?\'未执行\':\'执行中\'}}</div>                    <div class="pull-right oper-btn" ng-class="!selectedRule.isDisabled ? \'config-on\':\'config-off\'" ng-click="setEnable()">&nbsp;</div>                </div>                <div class="content-body">                    <div class="search-item clearfix">                        <table>                            <tbody>                                <tr>                                    <td><label>事件名称</label></td>                                    <td>                                        <select id="ruleMatchKey" style="width:130px; min-width:130px" class="form-control"></select>                                    </td>                                    <td style="padding-left:5px" ng-show="!isDefaultRule">                                        <select id="ruleMatchCondition" style="width:100px; min-width:100px" class="form-control"></select>                                    </td>                                    <td style="padding-left:5px" ng-show="!isDefaultRule">                                        <select id="ruleMatchValue" style="width:100px; min-width:100px" class="form-control"></select>                                    </td>                                </tr>                            </tbody>                        </table>                    </div>                    <div class="search-item clearfix">                        <label>执行时间</label>                        <input kendo-numeric-text-box k-options="{format: \'#\', decimals:0}" k-min="1" k-max="1000" k-step="1" k-ng-model="selectedRule.followupRuleConds[0].condValue" type="text" style="width:130px; display:inline-block;" class="form-control" />                        <span style="display:inline-block;">&nbsp;天</span>                    </div>                    <div class="search-item clearfix">                        <label>回访角色</label>                        <input id="actor" type="text" style="width:130px;max-width:130px;" class="form-control" />                    </div>                    <div class="search-item clearfix">                        <label>回访备注</label>                        <textarea rows="5" class="form-control" ng-model="selectedRule.revisitContent.content" style="width:350px;max-width:340px;" />                    </div>                </div>                <div class="footer-oper-btn">                    <button type="button" name="button" class="lc-btn lc-btn-primary" ng-click="onSave()">保存</button>                    <button type="button" name="button" class="lc-btn lc-btn-info" ng-show="selectedRule.id!==0" ng-click="onDelete()">删除</button>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/management/views/group-revisit/group-revisit-home-view.html','<style scoped>  .group-revisit-home-view {    height: 100%;  }  .group-revisit-home-view div[ui-view] {    /* 100% - top - padding - */    height: calc(100% - 40px - 12px);  }</style><div class="group-revisit-home-view">  <ares-tab states="states" root-state="groupRevisitCenter"></ares-tab></div>');templateCache.put('/app/management/views/group-revisit/group-revisit-list-view.html','<div class="ares-main-content" ares-clean-kendo id="groupRevisitListView">    <style scoped>        #defaultContainer>div[ui-view],        #groupRevisitListView {            height: 100%;        }        #groupRevisitListView .control-content .timer-range-picker-wrapper div.show-timer {            height: 34px;        }    </style>    <div id="groupRevisitListHeader">        <div style="margin-left:-4px;">            <div class="control-content" style="display:inline-block; margin-left: 5px;">                <input id="timeType" class="form-control" style="width: 100px; margin-top: -2px" />            </div>            <div class="control-content" style="display:inline-block; margin-left: -5px">                <timer-range-picker time-range-date="timeSpan" on-changed="searchDateChange">                </timer-range-picker>            </div>            <div class="control-content" style="display: inline-block;margin-left: 10px;">                <input class="form-control" style="width:130px" id="filter" placeholder="患者/拼音/手机" ng-model="selectCode"                    ng-change="toggleStateSelection()" />            </div>            <div class="control-content" style="display: inline-block;margin-left: 10px;" ng-if="isDepartmentLevel">                <span style="margin-top:10px;color:black;line-height:25px;">回访人</span>                <input id="groupOnlineConsultantInput" type="text" class="form-control"                    style="width:120px;margin-left:7px;">            </div>            <div class="control-content" style="display: inline-block;float:right;">                <button type="button" sensors-enabled="true" sensors-event-name="GroupRevisitList"                    sensors-event-type="新建回访" id="create-btn" class="btn btn-default" ng-click="createRevisit()"                    ares-authorize="patientMgmt.createRevisit">                    新建回访                </button>                <button type="button" sensors-enabled="true" sensors-event-name="GroupRevisitList"                    sensors-event-type="导出" id="export-btn" class="btn btn-default" style="height:34px"                    ares-slow-click="exportExcel()" ares-authorize="ReturnVisitFolder.exportList">                    导出                </button>            </div>        </div>        <div style="margin-left:-4px;">            <div style="display: inline-block;">                <span class="col-sm-6"                    style="margin-top:10px;color:black;margin-left:-10px;line-height:25px;">回访类型</span>                <div class="control-content col-sm-6" style="margin-left:-22px;">                    <input id="revisitType" type="text" class="form-control" style="width:140px;">                </div>            </div>            <div style="display: inline-block;">                <span class="col-sm-4" style="margin-top:10px;color:black;margin-left:0px;line-height:25px;">回访项目</span>                <div class="control-content col-sm-6" style="margin-left:-24px;">                    <select id="transactions" class="form-control" style="width: 240px;"></select>                </div>            </div>            <div style="display: inline-block;">                <span class="col-sm-6" style="margin-top:10px;color:black;margin-left:0px;line-height:25px;">回访状态</span>                <div class="control-content col-sm-6" style="margin-left:-25px;">                    <input id="revisitState" type="text" class="form-control" style="width:140px;">                </div>            </div>            <div style="display: inline-block;">                <span class="col-sm-6" style="margin-top:10px;color:black;line-height:25px;">沟通方式</span>                <div class="control-content col-sm-6" style="margin-left:-25px;">                    <input id="visitMethods" type="text" class="form-control" style="width:140px;">                </div>            </div>            <div style="display: inline-block;">                <span class="col-sm-6" style="margin-top:10px;color:black;line-height:25px;">创建人</span>                <div class="control-content col-sm-6" style="margin-left:-25px;">                    <user-search-dropdown search-place-holder="选择创建人" selected-user-id="createdUserId"                        on-select="refreshGrid()">                    </user-search-dropdown>                </div>            </div>        </div>    </div>    <div id="groupRevisitList" kendo-grid k-options="revisitGridOption" class="ares-grid"        ares-auto-tooltip-grid="revisits" style="margin-top:10px;"></div>    <div id="groupRevisitListFooter" style="width: 100%;margin-top:10px;">        <div style="text-align: center;">            <div pagination total-items="pageData.totalCount" items-per-page="pageData.pageSize" ng-model="pageIndex"                ng-change="onPageChanged(pageIndex)" max-size="10" first-text="第一页" previous-text="前一页" next-text="后一页"                last-text="最后一页" rotate="true" class="pagination" boundary-links="true" style="margin:0;height:36px;">            </div>            <ul class="pagination" style="margin:0">                <li class="disabled">                    <a style="padding: 0;padding-left: 5px;padding-right: 5px;">                        每页                        <input kendo-numeric-text-box k-min="1" k-max="50" k-ng-model="pageSize" style="width:63px;"                            k-on-change="onPageSizeChanged(pageSize)" k-options="{format: \'#\', decimals:0}" />                        条                    </a>                </li>            </ul>            <ul class="pagination" style="margin:0">                <li class="disabled"><a style="height:36px;">共{{pageData.totalCount}}条</a></li>            </ul>        </div>    </div>    <p ng-show="revisits&&revisits.length==0" class="empty-grid-info">无回访记录</p></div>');templateCache.put('/app/management/views/import/chargeitem-import-view.html','<div class="import-container enyo">    <style scoped>        .import-container-header {            height: 45px;        }        .table-header {            background: #00a6c9;            width: 100%;            height: 32px;            color: white;        }            .table-header th {                padding: 0 10px;                text-align: left;            }        .table-main {            width: 100%;        }            .table-main td {                height: 48px;                padding: 10px;                text-align: left;            }            .table-main tr:nth-child(even) {                background: #ffffff;                border: 1px solid #e3e3e3;            }            .table-main tr:nth-child(odd) {                background: #f5f6f8;                border: 1px solid #e3e3e3;            }        .complete-tag {            background: #f7a51d;            width: 60px;            height: 24px;            color: #ffffff;            padding: 3px 5px;            font-size: 13px;        }        .error-tag {            background: #ff4949;            width: 60px;            height: 24px;            color: #ffffff;            padding: 3px 5px;            font-size: 13px;        }        .success-tag {            background: #7ed321;            width: 60px;            height: 24px;            color: #ffffff;            padding: 3px 5px;            font-size: 13px;        }    </style>    <div class="import-container-header">        <div class="pull-right">            <button class="btn btn-default btn-wide" ng-click="exportTemplate()">导出模板</button>            <button class="btn btn-default btn-wide" style="margin-right:0;" ng-click="openUploadDialog()" ng-disabled="isDisabled">上传文件</button>            <input type="file" id="file" style="display: none" accept=".xls,.xlsx"                   document-upload-panel                   ownertype="ownerType"                   ownerid="ownerId"                   add="addUpload(e,data)"                   send="beforeUpload(e,data)"                   start="uploadStart(e,data)"                   stop="uploadStop(e,data)"                   uploadprogress="uploadProgressed(e,data)"                   done="uploadFinished(e,data)"                   fail="uploadFailed(e,data)" />        </div>    </div>    <div class="import-container-body">        <div class="list-tabel-wrap">            <div style="border:none;margin-bottom:5px;">                <table class="table-header">                    <tr>                        <th style="width:8%;">状态</th>                        <th style="width:25%;">文件名</th>                        <th style="width:15%;">上传时间</th>                        <th style="width:15%;">导入时间</th>                        <th style="width:30%;">导入结果</th>                        <th style="width:7%;">操作</th>                    </tr>                </table>            </div>            <div>                <table class="table-main" style="width:100%;">                    <tr ng-repeat="item in backgroundTasks">                        <td style="width:8%;">                            <span class="{{item.stateClass}}">{{item.stateStr}}</span>                        </td>                        <td style="width:25%;">{{item.taskName}}</td>                        <td style="width:15%;">{{item.submitTimeStr}}</td>                        <td style="width:15%;">{{item.startTimeStr}}</td>                        <td style="width:30%;">{{item.resultSummary}}</td>                        <td style="width:7%;">                            <span class="glyphicon glyphicon-save" style="cursor:pointer;" ng-click="downloadFile(item.attachmentLink)" tooltip="下载源文件"></span>                            <span ng-if="item.resultSummary !=\'全部导入成功\' && item.resultLink" class="glyphicon glyphicon-save-file" style="cursor:pointer;" ng-click="downloadFile(item.resultLink)" tooltip="下载导入报告"></span>                            <span class="glyphicon glyphicon-trash" style="cursor:pointer;" ng-click="deleteTask(item)" tooltip="删除"></span>                        </td>                    </tr>                </table>                <div class="empty-list-hint" ng-show="backgroundTasks.length === 0">                    <div style="margin-left: calc(50% - 150px); float: left;">                        <i class="iconfont icon-jinggao" style="font-size: 110px; color: #f7a51d;"></i>                    </div>                    <div style="margin-left: 20px; height: 150px; float: left; display: flex; align-items: center;">                        <div>                            <div style="color:#575d6a;font-size: 18px;">抱歉，没有相关信息</div>                        </div>                    </div>                </div>            </div>        </div>    </div>    <upload-progresse-view ng-show="fileName"></upload-progresse-view></div>');templateCache.put('/app/management/views/import/clue-import-view.html','<div class="import-container enyo clue">    <style scoped>        .import-container-header {            height: 45px;        }        .table-header {            background: #00a6c9;            width: 100%;            height: 32px;            color: white;        }            .table-header th {                padding: 0 10px;                text-align: left;            }        .table-main {            width: 100%;        }            .table-main td {                height: 48px;                padding: 10px;                text-align: left;            }            .table-main tr:nth-child(even) {                background: #ffffff;                border: 1px solid #e3e3e3;            }            .table-main tr:nth-child(odd) {                background: #f5f6f8;                border: 1px solid #e3e3e3;            }        .complete-tag {            background: #f7a51d;            width: 60px;            height: 24px;            color: #ffffff;            padding: 3px 5px;            font-size: 13px;        }        .error-tag {            background: #ff4949;            width: 60px;            height: 24px;            color: #ffffff;            padding: 3px 5px;            font-size: 13px;        }        .success-tag {            background: #7ed321;            width: 60px;            height: 24px;            color: #ffffff;            padding: 3px 5px;            font-size: 13px;        }    </style>    <div class="import-container-header">        <div class="pull-right">            <button class="btn btn-default btn-wide" ng-click="exportTemplate()">导出模板</button>            <button class="btn btn-default btn-wide" style="margin-right:0;" ng-click="openSelectedDialog()" ng-disabled="isDisabled">上传文件</button>            <input type="file" id="file" style="display: none" accept=".xls,.xlsx"                   document-upload-panel                   ownertype="ownerType"                   ownerid="ownerId"                   add="addUpload(e,data)"                   send="beforeUpload(e,data)"                   start="uploadStart(e,data)"                   stop="uploadStop(e,data)"                   uploadprogress="uploadProgressed(e,data)"                   done="uploadFinished(e,data)"                   fail="uploadFailed(e,data)" />        </div>    </div>    <div class="import-container-body">        <div class="list-tabel-wrap">            <div style="border:none;margin-bottom:5px;">                <table class="table-header">                    <tr>                        <th style="width:8%;">状态</th>                        <th style="width:25%;">文件名</th>                        <th style="width:15%;">上传时间</th>                        <th style="width:15%;">导入时间</th>                        <th style="width:30%;">导入结果</th>                        <th style="width:7%;">操作</th>                    </tr>                </table>            </div>            <div>                <table class="table-main" style="width:100%;">                    <tr ng-repeat="item in backgroundTasks">                        <td style="width:8%;">                            <span class="{{item.stateClass}}">{{item.stateStr}}</span>                        </td>                        <td style="width:25%;">{{item.taskName}}</td>                        <td style="width:15%;">{{item.submitTimeStr}}</td>                        <td style="width:15%;">{{item.startTimeStr}}</td>                        <td style="width:30%;">{{item.resultSummary}}</td>                        <td style="width:7%;">                            <span class="glyphicon glyphicon-save" style="cursor:pointer;" ng-click="downloadFile(item.attachmentLink)" tooltip="下载源文件"></span>                            <span ng-if="item.resultSummary !=\'全部导入成功\' && item.resultLink" class="glyphicon glyphicon-save-file" style="cursor:pointer;" ng-click="downloadFile(item.resultLink)" tooltip="下载导入报告"></span>                            <span class="glyphicon glyphicon-trash" style="cursor:pointer;" ng-click="deleteTask(item)" tooltip="删除"></span>                        </td>                    </tr>                </table>                <div class="empty-list-hint" ng-show="backgroundTasks.length === 0">                    <div style="margin-left: calc(50% - 150px); float: left;">                        <i class="iconfont icon-jinggao" style="font-size: 110px; color: #f7a51d;"></i>                    </div>                    <div style="margin-left: 20px; height: 150px; float: left; display: flex; align-items: center;">                        <div>                            <div style="color:#575d6a;font-size: 18px;">抱歉，没有相关信息</div>                        </div>                    </div>                </div>            </div>        </div>        <div class="table-footer lc-table-footer" style="margin-top: 20px;">            <div pagination total-items="backgroundTasksPage.totalCount"                 items-per-page="searchCriteria.pageSize"                 ng-model="searchCriteria.pageIndex" ng-change="search(searchCriteria.pageIndex)"                 max-size="10"                 first-text="第一页"                 previous-text="前一页"                 next-text="后一页"                 last-text="最后一页"                 rotate="true"                 class="pagination new-page-color" boundary-links="true" style="margin:0;"></div>            <ul class="pagination new-page-color pagination-to-page" style="margin:0">                <li class="disabled">                    <a style="padding: 0;padding-left: 5px;padding-right: 5px;">                        每页                        <input kendo-numeric-text-box k-min="1" k-max="50"                               k-ng-model="searchCriteria.pageSize"                               style="width:63px;" k-on-change="search();isExpandAll=false;"                               k-options="{format: \'#\', decimals:0}" />                        条                    </a>                </li>            </ul>            <ul class="pagination" style="margin:0">                <li class="disabled">                    <a>共{{ backgroundTasksPage.totalCount }}条</a>                </li>            </ul>        </div>    </div>    <upload-progresse-view ng-show="fileName"></upload-progresse-view></div>');templateCache.put('/app/management/views/import/import-home-view.html','<div class="workflow-management-nav" ares-clean-kendo>    <ares-tab states="states" root-state="importCenter" class="workflow-tab"></ares-tab></div>');templateCache.put('/app/management/views/import/patient-import-view.html','<div class="import-container enyo">    <style scoped>        .import-container-header {            height: 45px;        }        .table-header {            background: #00a6c9;            width: 100%;            height: 32px;            color: white;        }            .table-header th {                padding: 0 10px;                text-align: left;            }        .table-main {            width: 100%;        }            .table-main td {                height: 48px;                padding: 10px;                text-align: left;            }            .table-main tr:nth-child(even) {                background: #ffffff;                border: 1px solid #e3e3e3;            }            .table-main tr:nth-child(odd) {                background: #f5f6f8;                border: 1px solid #e3e3e3;            }        .complete-tag {            background: #f7a51d;            width: 60px;            height: 24px;            color: #ffffff;            padding: 3px 5px;            font-size: 13px;        }        .error-tag {            background: #ff4949;            width: 60px;            height: 24px;            color: #ffffff;            padding: 3px 5px;            font-size: 13px;        }        .success-tag {            background: #7ed321;            width: 60px;            height: 24px;            color: #ffffff;            padding: 3px 5px;            font-size: 13px;        }    </style>    <div class="import-container-header">        <div class="pull-right">            <button class="btn btn-default btn-wide" ng-click="exportTemplate()">导出模板</button>            <button class="btn btn-default btn-wide" style="margin-right:0;" ng-click="openSelectedDialog()" ng-disabled="isDisabled">上传文件</button>            <input type="file" id="file" style="display: none" accept=".xls,.xlsx"                   document-upload-panel                   ownertype="ownerType"                   ownerid="ownerId"                   add="addUpload(e,data)"                   send="beforeUpload(e,data)"                   start="uploadStart(e,data)"                   stop="uploadStop(e,data)"                   uploadprogress="uploadProgressed(e,data)"                   done="uploadFinished(e,data)"                   fail="uploadFailed(e,data)" />        </div>    </div>    <div class="import-container-body">        <div class="list-tabel-wrap">            <div style="border:none;margin-bottom:5px;">                <table class="table-header">                    <tr>                        <th style="width:8%;">状态</th>                        <th style="width:25%;">文件名</th>                        <th style="width:15%;">上传时间</th>                        <th style="width:15%;">导入时间</th>                        <th style="width:30%;">导入结果</th>                        <th style="width:7%;">操作</th>                    </tr>                </table>            </div>            <div>                <table class="table-main" style="width:100%;">                    <tr ng-repeat="item in backgroundTasks">                        <td style="width:8%;">                            <span class="{{item.stateClass}}">{{item.stateStr}}</span>                        </td>                        <td style="width:25%;">{{item.taskName}}</td>                        <td style="width:15%;">{{item.submitTimeStr}}</td>                        <td style="width:15%;">{{item.startTimeStr}}</td>                        <td style="width:30%;">{{item.resultSummary}}</td>                        <td style="width:7%;">                            <span class="glyphicon glyphicon-save" style="cursor:pointer;" ng-click="downloadFile(item.attachmentLink)" tooltip="下载源文件"></span>                            <span ng-if="item.resultSummary !=\'全部导入成功\' && item.resultLink" class="glyphicon glyphicon-save-file" style="cursor:pointer;" ng-click="downloadFile(item.resultLink)" tooltip="下载导入报告"></span>                            <span class="glyphicon glyphicon-trash" style="cursor:pointer;" ng-click="deleteTask(item)" tooltip="删除"></span>                        </td>                    </tr>                </table>                <div class="empty-list-hint" ng-show="backgroundTasks.length === 0">                    <div style="margin-left: calc(50% - 150px); float: left;">                        <i class="iconfont icon-jinggao" style="font-size: 110px; color: #f7a51d;"></i>                    </div>                    <div style="margin-left: 20px; height: 150px; float: left; display: flex; align-items: center;">                        <div>                            <div style="color:#575d6a;font-size: 18px;">抱歉，没有相关信息</div>                        </div>                    </div>                </div>            </div>        </div>    </div>    <upload-progresse-view ng-show="fileName"></upload-progresse-view></div>');templateCache.put('/app/management/views/import/sz-health-report-view.html','<div class="import-container enyo">    <style scoped>        .import-container-header {            height: 45px;        }        .table-header {            background: #00a6c9;            width: 100%;            height: 32px;            color: white;        }            .table-header th {                padding: 0 10px;                text-align: left;            }        .table-main {            width: 100%;        }            .table-main td {                height: 48px;                padding: 10px;                text-align: left;            }            .table-main tr:nth-child(even) {                background: #ffffff;                border: 1px solid #e3e3e3;            }            .table-main tr:nth-child(odd) {                background: #f5f6f8;                border: 1px solid #e3e3e3;            }        .complete-tag {            background: #f7a51d;            width: 60px;            height: 24px;            color: #ffffff;            padding: 3px 5px;            font-size: 13px;        }        .error-tag {            background: #ff4949;            width: 60px;            height: 24px;            color: #ffffff;            padding: 3px 5px;            font-size: 13px;        }        .success-tag {            background: #7ed321;            width: 60px;            height: 24px;            color: #ffffff;            padding: 3px 5px;            font-size: 13px;        }    </style>    <div class="import-container-header">        <div class="pull-right">            <button class="btn btn-default btn-wide" ng-click="exportTemplate()">导出模板</button>            <button class="btn btn-default btn-wide" style="margin-right:0;" ng-click="openSelectedDialog()" ng-disabled="isDisabled">上传文件</button>            <input type="file" id="file" style="display: none" accept=".xls,.xlsx"                   document-upload-panel                   ownertype="ownerType"                   ownerid="ownerId"                   add="addUpload(e,data)"                   send="beforeUpload(e,data)"                   start="uploadStart(e,data)"                   stop="uploadStop(e,data)"                   uploadprogress="uploadProgressed(e,data)"                   done="uploadFinished(e,data)"                   fail="uploadFailed(e,data)" />        </div>    </div>    <div class="import-container-body">        <div class="list-tabel-wrap">            <div style="border:none;margin-bottom:5px;">                <table class="table-header">                    <tr>                        <th style="width:8%;">状态</th>                        <th style="width:25%;">文件名</th>                        <th style="width:15%;">上传时间</th>                        <th style="width:15%;">导入时间</th>                        <th style="width:30%;">导入结果</th>                        <th style="width:7%;">操作</th>                    </tr>                </table>            </div>            <div>                <table class="table-main" style="width:100%;">                    <tr ng-repeat="item in backgroundTasks">                        <td style="width:8%;">                            <span class="{{item.stateClass}}">{{item.stateStr}}</span>                        </td>                        <td style="width:25%;">{{item.taskName}}</td>                        <td style="width:15%;">{{item.submitTimeStr}}</td>                        <td style="width:15%;">{{item.startTimeStr}}</td>                        <td style="width:30%;">{{item.resultSummary}}</td>                        <td style="width:7%;">                            <span ng-if="item.status == 5"  class="glyphicon glyphicon-exclamation-sign"  style="color: red;" tooltip="失败的任务，原始文件只保留7天"></span>                            <span ng-if="!item.resultLink" class="glyphicon glyphicon-save" style="cursor:pointer;" ng-click="downloadFile(item.attachmentLink)" tooltip="下载源文件"></span>                            <span ng-if="item.resultLink" class="glyphicon glyphicon-save" style="cursor:pointer;" ng-click="downloadFile(item.resultLink)" tooltip="下载源文件"></span>                            <span class="glyphicon glyphicon-trash" style="cursor:pointer;" ng-click="deleteTask(item)" tooltip="删除"></span>                        </td>                    </tr>                </table>                <div class="empty-list-hint" ng-show="backgroundTasks.length === 0">                    <div style="margin-left: calc(50% - 150px); float: left;">                        <i class="iconfont icon-jinggao" style="font-size: 110px; color: #f7a51d;"></i>                    </div>                    <div style="margin-left: 20px; height: 150px; float: left; display: flex; align-items: center;">                        <div>                            <div style="color:#575d6a;font-size: 18px;">抱歉，没有相关信息</div>                        </div>                    </div>                </div>            </div>        </div>    </div>    <upload-progresse-view ng-show="fileName"></upload-progresse-view></div>');templateCache.put('/app/management/views/import/upload-progresse-view.html','<div>    <style scoped>        .upload-progresse-panel {            background: #ffffff;            box-shadow: 0 1px 20px 0 rgba(0,0,0,0.20);            width: 380px;            height: 124px;            padding: 20px 30px;            padding-bottom: 0;            margin: auto;            position: absolute;            top: 0;            left: 0;            bottom: 0;            right: 0;            z-index: 99;        }        .upload-mask-layer {            position: fixed;            top: 0;            left: -100px;            width: calc(100% + 100px);            height: 100%;            background-color: white;            opacity: 0.3;            z-index: 98;        }        .upload-progresse-header {            white-space: nowrap;            overflow: hidden;            text-overflow: ellipsis;        }        .upload-progresse-body {            margin-top: 15px;            margin-bottom: 5px;        }        .upload-progress-bar {            background: #ffffff;            border: 1px solid #b6b6b6;            width: 319px;            height: 10px;        }        .upload-progress-bar-content {            width: 156px;            height: 8px;        }        .upload-progresse-footer {            margin: auto;            position: absolute;            left: 0;            bottom: 15px;            right: 0;            text-align: center;        }            .upload-progresse-footer a {                font-size: 12px;                color: #00a6c9;            }    </style>    <div class="upload-mask-layer"></div>    <div class="upload-progresse-panel">        <div class="upload-progresse-header">            <span class="icon-doc" style="font-size: 14px;" title="{{fileName}}"></span><span style="font-size: 12px;">&nbsp;{{fileName}}</span>        </div>        <div class="upload-progresse-body">            <div class="upload-progress-bar">                <div class="upload-progress-bar-content" ng-style="{\'background\':isUploadFailed?\'#ff4949\':\'#00a6c9\',\'width\':progress+\'%\'}"></div>            </div>            <div ng-if="isUploadFailed">                <span style="color:#ff4949;font-size:12px;">上传失败：数据异常，请检查</span>            </div>        </div>        <div class="upload-progresse-footer ">            <a ng-click="openSelectedDialog()" style="font-size: 12px;">重新上传</a>&nbsp;&nbsp;<a ng-click="cancelUpload()" style="font-size: 12px;">取消上传</a>        </div>    </div></div>');templateCache.put('/app/management/views/invoice/invoice-home-view.html','<ares-tab states="states" root-state="invoiceCenter"></ares-tab>');templateCache.put('/app/management/views/invoice/invoice-package-view.html','<div class="invoice-package-page-wrap" ares-clean-kendo>    <style>        .invoice-package-page-wrap .page-search-conds-wrap .search-date-time-conds {            padding-bottom: 5px;            min-width: 240px;            vertical-align: middle;            display: inline-block;        }        .invoice-package-page-wrap .page-search-conds-wrap .search-cond-item {            display: inline-block;            vertical-align: middle;            margin-left: 10px;        }        .invoice-package-page-wrap .page-search-conds-wrap .search-other-conds {            padding-bottom: 5px;            vertical-align: middle;            display: inline-block;        }            .invoice-package-page-wrap .page-search-conds-wrap .search-other-conds .search-cond-item {                width: 170px;                border-right: 1px #e6e4e1 solid;                margin-left: 0;            }        .invoice-package-page-wrap .page-search-conds-wrap .create-conds {            float: right;        }        .invoice-package-page-wrap .page-search-conds-wrap .search-cond-item-title {            min-width: 40px;            font-size: 13px;            color: #666;            margin-left: 10px;            display: inline-block;            vertical-align: middle;        }        .invoice-package-page-wrap .page-search-conds-wrap .search-cond-item-content {            display: inline-block;            vertical-align: middle;        }        .invoice-package-page-wrap .page-search-conds-wrap .btn-selected {            background: #e3e3e3;            box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);        }        .invoice-package-page-wrap .workflow-task-page-list-wrap th,        .invoice-package-page-wrap .workflow-task-page-list-wrap td {            text-align: center;        }        .invoice-package-page-wrap .workflow-task-page-list-wrap .action-icon-btn {            width: 20px;            height: 20px;            display: inline-block;            vertical-align: middle;        }        .k-tooltip {            top: -8px;        }            .k-tooltip .k-tooltip-content {                font-size: 12px;                padding: 0 4px;            }        .invoice-package-page-wrap .gift-icon {            display: inline-block;            background-image: url(/Content/imgs/icon-approval.png);            background-size: 40px 140px;            width: 20px;            height: 20px;        }            .invoice-package-page-wrap .gift-icon:hover {                background-position-x: 20px;            }            .invoice-package-page-wrap .gift-icon.view {                background-position-y: -40px;            }            .invoice-package-page-wrap .gift-icon.send {                background-position-y: -80px;            }            .invoice-package-page-wrap .gift-icon.stop {                background-position-y: -20px;            }            .invoice-package-page-wrap .gift-icon.publish {            }            .invoice-package-page-wrap .gift-icon.edit {                background-position-y: -100px;            }            .invoice-package-page-wrap .gift-icon.delete {                background-position-y: -120px;            }        .invoice-package-page-wrap .action-icon-btn {            display: inline-block;            font-size: 18px;            width: 20px;            height: 20px;            margin: 3px;            line-height: 20px;            vertical-align: middle;            color: #777;        }            .invoice-package-page-wrap .action-icon-btn .glyphicon {                line-height: 20px;                font-size: 16px;                font-weight: 200;            }        #list-body tr:hover {            background-color: #ebfcff;        }    </style>    <div class="page-search-conds-wrap">        <div class="search-date-time-conds">            <span class="search-cond-item-title">有效期开始时间：</span>            <div class="lc-btn-group" role="group">                <button class="lc-btn lc-btn-default" ng-class="{\'btn-selected\':selectDate == \'all\'}" ng-click="switchDate(\'all\')">全部</button>                <button class="lc-btn lc-btn-default" ng-class="{\'btn-selected\':selectDate == \'day\'}" ng-click="switchDate(\'day\')">日</button>                <button class="lc-btn lc-btn-default" ng-class="{\'btn-selected\':selectDate == \'week\'}" ng-click="switchDate(\'week\')">周</button>                <button class="lc-btn lc-btn-default" ng-class="{\'btn-selected\':selectDate == \'month\'}" ng-click="switchDate(\'month\')">月</button>                <button class="lc-btn lc-btn-default" ng-class="{\'btn-selected\':selectDate == \'custom\'}" ng-click="switchDate(\'custom\')">自定义</button>            </div>            <div class="lc-btn-group search-cond-item"                 ng-if="selectDate == \'custom\' || selectDate == \'month\'|| selectDate == \'week\'">                <input id="startDatePicker" type="text" class="form-control"                       kendo-date-picker k-ng-model="timeSpan.startDate" k-format="\'yyyy-MM-dd\'"                       k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;"                       ng-disabled="selectDate == \'month\'||selectDate == \'day\'|| selectDate == \'week\'"                       k-on-change="searchInvoicePackages()">                -                <input id="endDatePicker" type="text" class="form-control"                       kendo-date-picker k-ng-model="timeSpan.endDate" k-format="\'yyyy-MM-dd\'"                       k-parse-formats="[\'yyyyMMdd\']" style="width: 130px; "                       ng-disabled="selectDate == \'month\'||selectDate == \'day\'|| selectDate == \'week\'"                       k-on-change="searchInvoicePackages()">            </div>            <div class="btn-group search-cond-item" ng-if="selectDate == \'day\'">                <input id="startDatePicker" type="text" class="form-control"                       kendo-date-picker k-ng-model="timeSpan.startDate" k-format="\'yyyy-MM-dd\'"                       k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;"                       ng-disabled="selectDate == \'day\'">            </div>            <div class="btn-group search-cond-item" ng-if="selectDate == \'month\'||selectDate == \'day\'|| selectDate == \'week\'">                <button class="lc-btn lc-btn-default" ng-click="updateDate(\'previous\')">                    <span class="glyphicon glyphicon-triangle-left"></span>                </button>                <button class="lc-btn lc-btn-default" ng-click="updateDate(\'next\')">                    <span class="glyphicon glyphicon-triangle-right"></span>                </button>            </div>        </div>        <div class="search-other-conds">            <div class="search-cond-item">                <span class="search-cond-item-title">状态：</span>                <div class="search-cond-item-content">                    <input id="workflowTaskStatusSelect" type="text" style="width: 100px;"                           kendo-drop-down-list ng-model="searchCriteria.status"                           k-data-source="invoicePackageStatusList"                           k-data-text-field="\'name\'" k-data-value-field="\'value\'">                </div>            </div>            <button class="lc-btn lc-btn-default" ares-slow-click="searchInvoicePackages()" style="margin-left:10px;">                <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询            </button>        </div>        <div class="create-conds">            <button class="lc-btn lc-btn-default" ares-slow-click="createPackage()" style="margin-left:10px;">                <span class="glyphicon glyphicon-plus" aria-hidden="true"></span> 创建发票包            </button>        </div>        <div class="create-conds">            <button class="lc-btn lc-btn-default" ares-slow-click="exportInvoices()" style="margin-left:10px;">                <span class="glyphicon glyphicon-plus" aria-hidden="true"></span> 导出发票            </button>        </div>    </div>    <div class="invoice-package-page-list-wrap">        <table style="width:100%;">            <tr style="height:35px;border-top:2px solid #00a7c6;border-bottom:1px solid #00a7c6;">                <th width="5%">序号</th>                <th width="25%">起始票号</th>                <th width="10%">状态</th>                <th width="15%">有效期开始时间</th>                <th width="15%">有效期结束时间</th>                <th width="10%">数量</th>                <th width="10%">已使用数量</th>                <th width="10%">操作</th>            </tr>        </table>        <div style="overflow-x:auto;border-bottom:2px solid #00a7c6" id="list-body">            <table style="width:100%;font-weight:initial;">                <tr style="height:45px;border-bottom:1px solid #e6e4e1;" ng-repeat="item in invoicePackages">                    <td width="5%">{{$index + 1}}</td>                    <td width="25%">{{item.startNumber}}</td>                    <td width="10%">{{item.statusStr}}</td>                    <td width="15%">{{item.validStartTimeStr}}</td>                    <td width="15%">{{item.validEndTimeStr}}</td>                    <td width="10%">{{item.count}}</td>                    <td width="10%">{{item.usedCount}}</td>                    <td width="10%">                        <a class="action-icon-btn" kendo-tooltip                           k-position="\'top\'" k-content="\'编辑\'"                           ng-if="canEdit(item)" ng-click="edit(item,$event)">                            <span class="gift-icon edit"></span>                        </a>                        <a class="action-icon-btn" kendo-tooltip                           k-position="\'top\'" k-content="\'发布\'"                           ng-if="canPubilsh(item)" ng-click="pubilsh(item,$event)">                            <span class="gift-icon publish"></span>                        </a>                        <a class="action-icon-btn" kendo-tooltip                           k-position="\'top\'" k-content="\'撤回\'"                           ng-if="canRevert(item)" ng-click="revert(item,$event)">                            <span class="gift-icon stop"></span>                        </a>                        <a class="action-icon-btn" kendo-tooltip                           k-position="\'top\'" k-content="\'删除\'"                           ng-if="canRemove(item)" ng-click="remove(item,$event)">                            <span class="gift-icon delete"></span>                        </a>                        <a class="action-icon-btn" kendo-tooltip                           k-position="\'top\'" k-content="\'使用记录\'"                           ng-if="canShowTransaction(item)" ng-click="useTransaction(item,$event)">                            <span class="glyphicon glyphicon-align-justify"></span>                        </a>                    </td>                </tr>            </table>        </div>    </div>    <div class="pager-action" style="width: 100%;margin-top:10px;">        <div style="text-align: center;">            <div pagination                 total-items="page.totalCount"                 items-per-page="page.size"                 ng-model="page.index" ng-change="searchInvoicePackages()"                 max-size="15"                 first-text="第一页"                 previous-text="前一页"                 next-text="后一页"                 last-text="最后一页"                 rotate="true"                 class="pagination" boundary-links="true" style="margin:0;height:36px;"></div>            <ul class="pagination" style="margin:0">                <li class="disabled">                    <a style="padding: 0;padding-left: 5px;padding-right: 5px;">                        每页                        <input kendo-numeric-text-box k-min="1" k-max="50" k-ng-model="page.size"                               style="width:63px;" k-on-change="searchInvoicePackages()"                               k-options="{format: \'#\', decimals:0}" />                        条                    </a>                </li>            </ul>            <ul class="pagination" style="margin:0">                <li class="disabled">                    <a style="height:36px;">共{{page.totalCount}}条</a>                </li>            </ul>        </div>    </div></div>');templateCache.put('/app/management/views/medicalExam/medical-exam-view.html','<div class="medical-exam-page-wrap" ares-clean-kendo>    <style>        .medical-exam-page-wrap .page-search-conds-wrap .search-date-time-conds {            padding-bottom: 5px;            min-width: 240px;            vertical-align: middle;            display: inline-block;        }        .medical-exam-page-wrap .page-search-conds-wrap .search-other-conds {            padding-bottom: 5px;            vertical-align: middle;            display: inline-block;        }        .medical-exam-page-wrap .page-search-conds-wrap .search-cond-item {            display: inline-block;            vertical-align: middle;            margin-left: 10px;        }        .medical-exam-page-wrap .page-search-conds-wrap .search-cond-item-title {            min-width: 40px;            font-size: 13px;            color: #abadaf;            margin-left: 10px;            display: inline-block;            vertical-align: middle;        }        .medical-exam-page-wrap .page-search-conds-wrap .search-cond-item-content {            display: inline-block;            vertical-align: middle;        }        .medical-exam-page-wrap .page-search-conds-wrap .search-other-conds .search-cond-item {            width: 170px;            border-right: 1px #e6e4e1 solid;            margin-left: 0;        }        .medical-exam-page-wrap .page-search-conds-wrap .btn-selected {            background: #e3e3e3;            box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);        }        .medical-exam-page-wrap .search-date-time-conds .btn-selected {            background: #e3e3e3;            box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);        }        .medical-exam-page-wrap .exam-page-list-wrap th,        .medical-exam-page-wrap .exam-page-list-wrap td {            text-align: center;            word-break: break-all;            word-wrap: break-word;        }        .medical-exam-page-wrap .exam-page-list-wrap .action-icon-btn {            width: 20px;            height: 20px;            display: inline-block;            vertical-align: middle;        }        #list-body tr:hover {            background-color: #ebfcff;        }    </style>    <div class="control-panel">        <table>            <tr>                <td>                    <div class="search-date-time-conds">                        <div class="btn-group" role="group">                            <button class="btn btn-default" ng-class="{\'btn-selected\':selectDate == \'all\'}" ng-click="switchDate(\'all\')">全部</button>                            <button class="btn btn-default" ng-class="{\'btn-selected\':selectDate == \'day\'}" ng-click="switchDate(\'day\')">日</button>                            <button class="btn btn-default" ng-class="{\'btn-selected\':selectDate == \'week\'}" ng-click="switchDate(\'week\')">周</button>                            <button class="btn btn-default" ng-class="{\'btn-selected\':selectDate == \'month\'}" ng-click="switchDate(\'month\')">月</button>                            <button class="btn btn-default" ng-class="{\'btn-selected\':selectDate == \'custom\'}" ng-click="switchDate(\'custom\')">自定义</button>                        </div>                        <div class="btn-group search-cond-item"                             ng-if="selectDate == \'custom\' || selectDate == \'month\'|| selectDate == \'week\'">                            <input id="startDatePicker" type="text" class="form-control"                                   kendo-date-picker k-ng-model="timeSpan.startDate" k-format="\'yyyy-MM-dd\'"                                   k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;"                                   ng-disabled="selectDate == \'month\'||selectDate == \'day\'|| selectDate == \'week\'"                                   k-on-change="searchMedicalExamPagedList()">                            -                            <input id="endDatePicker" type="text" class="form-control"                                   kendo-date-picker k-ng-model="timeSpan.endDate" k-format="\'yyyy-MM-dd\'"                                   k-parse-formats="[\'yyyyMMdd\']" style="width: 130px; "                                   ng-disabled="selectDate == \'month\'||selectDate == \'day\'|| selectDate == \'week\'"                                   k-on-change="searchMedicalExamPagedList()">                        </div>                        <div class="btn-group search-cond-item" ng-if="selectDate == \'day\'">                            <input id="startDatePicker" type="text" class="form-control"                                   kendo-date-picker k-ng-model="timeSpan.startDate" k-format="\'yyyy-MM-dd\'"                                   k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;"                                   ng-disabled="selectDate == \'day\'">                        </div>                        <div class="btn-group search-cond-item" ng-if="selectDate == \'month\'||selectDate == \'day\'|| selectDate == \'week\'">                            <button class="btn btn-default" ng-click="updateDate(\'previous\')">                                <span class="glyphicon glyphicon-triangle-left"></span>                            </button>                            <button class="btn btn-default" ng-click="updateDate(\'next\')">                                <span class="glyphicon glyphicon-triangle-right"></span>                            </button>                        </div>                    </div>                </td>            </tr>        </table>        <table style="margin-top:5px;margin-bottom:5px;">            <tr>                <td style="width:218px;border-right:1px #e6e4e1 solid" ng-if="!isDoctor">                    <span style="font-size: 13px;color: #abadaf;">医生/咨询师：</span>                    <div class="btn-group">                        <input id="doctorInput" type="text" class="form-control" style="width:130px">                    </div>                </td>                <td style="border-right:1px #e6e4e1 solid" ng-if="!isAssistant">                    <span style="font-size: 13px;color: #abadaf;margin-left:15px;">护士：</span>                    <div class="btn-group" style="margin-left:5px;margin-right:15px;">                        <input id="nurseInput" type="text" class="form-control" style="width:120px">                    </div>                </td>                <td>                    <input class="form-control" style="width: 230px" id="filter" placeholder="患者/病历号/拼音/手机" ng-model="searchCriteria.searchText" />                </td>                <td>                    <button class="btn btn-default" ares-slow-click="searchMedicalExamPagedList()" style="margin-left:15px;">                        <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                    </button>                </td>                <td>                    <button class="btn btn-default" ares-slow-click="exportMedicalExamList()" style="margin-left:15px;">                        <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 导出                    </button>                </td>            </tr>        </table>    </div>    <div class="exam-page-list-wrap">        <table style="width:100%;">            <tr style="height:35px;border-top:2px solid #00a7c6;border-bottom:1px solid #00a7c6;">                <th style="width:3%">序号</th>                <th style="width:8%">预约时间</th>                <th style="width:8%">检查时间</th>                <th style="width:5%">医生/咨询师</th>                <th style="width:5%">护士</th>                <th style="width:5%">检查类型</th>                <th style="width:5%">影像类型</th>                <th style="width:5%">影像设备</th>                <th style="width:7%">患者姓名</th>                <th style="width:7%">病历号</th>                <th style="width:3%">性别</th>                <th style="width:3%">年龄</th>                <th style="width:7%">手机</th>                <th style="width:7%">备注</th>            </tr>        </table>        <div style="overflow-x:auto;border-bottom:2px solid #00a7c6" id="list-body">            <table style="width:100%;font-weight:initial;">                <tr style="height:45px;border-bottom:1px solid #e6e4e1;" ng-repeat="item in medicalExamList">                    <td style="width:3%">{{$index + 1}}</td>                    <td style="width:8%">{{item.startTime| toLongDateMMString}}</td>                    <td style="width:8%">{{item.examTime| toLongDateMMString}}</td>                    <td style="width:5%">{{item.doctorName}}</td>                    <td style="width:5%">{{item.nurseName}}</td>                    <td style="width:5%">{{item.examTypeStr}}</td>                    <td style="width:5%">{{item.examSubTypeStr}}</td>                    <td style="width:5%">{{item.equipment}}</td>                    <td style="width:7%">{{item.patientName}}</td>                    <td style="width:7%">{{item.privateId}}</td>                    <td style="width:3%">{{item.gender}}</td>                    <td style="width:3%">{{item.age}}</td>                    <td style="width:7%">{{item.mobile}}</td>                    <td style="width:7%">{{item.notes}}</td>                </tr>            </table>        </div>    </div>    <div class="pager-action" style="width: 100%;margin-top:10px;">        <div style="text-align: center;">            <div pagination                 total-items="page.totalCount"                 items-per-page="page.size"                 ng-model="page.index" ng-change="searchMedicalExamPagedList()"                 max-size="15"                 first-text="第一页"                 previous-text="前一页"                 next-text="后一页"                 last-text="最后一页"                 rotate="true"                 class="pagination" boundary-links="true" style="margin:0;height:36px;"></div>            <ul class="pagination" style="margin:0">                <li class="disabled">                    <a style="padding: 0;padding-left: 5px;padding-right: 5px;">                        每页                        <input kendo-numeric-text-box k-min="1" k-max="50" k-ng-model="page.size"                               style="width:63px;" k-on-change="searchMedicalExamPagedList()"                               k-options="{format: \'#\', decimals:0}" />                        条                    </a>                </li>            </ul>            <ul class="pagination" style="margin:0">                <li class="disabled">                    <a style="height:36px;">共{{page.totalCount}}条</a>                </li>            </ul>        </div>    </div></div>');templateCache.put('/app/management/views/memo/memo-home-view.html','<ares-tab states="states" root-state="memo"></ares-tab>');templateCache.put('/app/management/views/memo/memo-list-view.html','<div class="memo-list-view enyo" ares-clean-kendo>    <style scoped>        .memo-list-view .k-grid td {            text-align: left;        }        .memo-list-view .k-grid .k-grid-content .cell-center {            text-align: center;        }        .memo-list-view .k-grid .k-grid-content td .btn-group button {            border: none;            color: #00a6c9;            background: transparent;        }        .memo-list-view .memo-list-search .search-item .k-input {            box-shadow: none;        }        .memo-list-view .memo-list-search .search-item button.btn {            margin-left: 10px;            height: 33.5px;        }        .memo-list-view .memo-list-grid{          min-height: 300px;        }        .memo-list-view .memo-status-1{          color: #F7871D;        }        .memo-list-view .memo-status-2{          color: #2DCB73;        }        .memo-list-view .memo-status-5{          color: #9397a2;        }        .memo-list-view .edit-button{          cursor: pointer;        }        .memo-list-view .checkbox-box{          line-height: 32px;        }        .memo-list-view .checkbox-box .ares-checkbox{          vertical-align: text-top;        }        .memo-list-view .checkbox-box label{          font-weight: normal;        }        .memo-list-view .memo-list-grid .k-grid-content td span.label{          margin-left:5px;        }    </style>    <div class="memo-list-search clearfix">        <div class="search-item pull-left">          <input id="timeStatus" class="form-control" style="width: 100px;" />        </div>        <div class="search-item pull-left" style="margin-right:10px;border-left:none;">          <timer-range-picker time-range-date="timeSpan" on-changed="onDateRangeChanged"           is-disable-huge-time="true" is-show-interval="true"></timer-range-picker>        </div>        <div class="search-item pull-left">            <input id="providerType" class="form-control" style="width: 100px;" />        </div>        <div class="search-item pull-left" style="margin-right:10px;">            <input id="provider" class="form-control" style="width: 140px;" />        </div>        <div class="search-item pull-left" style="margin-right:10px;">            <input id="memoStatus" class="form-control" style="width: 140px;" />        </div>        <div class="search-item pull-left" style="margin-right:10px;">            <input id="subject" class="form-control" style="width: 140px;" />        </div>        <div class="search-item pull-left checkbox-box">            <input type="checkbox" id="checkbox" class="ares-checkbox" ng-model="isImportant" ng-change="searchAndOpen()"> <label for="checkbox">仅看重要</label>        </div>        <div class="search-item pull-left">            <button type="button" class="btn btn-primary" ng-click="search()">查询</button>            <button type="button" class="btn btn-default" ng-click="refresh()" style="margin-left:0;">清空</button>        </div>    </div>    <div class="ares-lc-k-grid" style="margin-top:10px;">        <div class="memo-list-grid" id="memoListGrid">        </div>        <div class="table-footer lc-table-footer">            <div pagination total-items="pageData.totalCount" items-per-page="pageData.pageSize" ng-model="pageIndex" ng-change="onPageChanged(pageIndex)" max-size="10" first-text="第一页" previous-text="前一页" next-text="后一页" last-text="最后一页" rotate="true" class="pagination new-page-color"              boundary-links="true" style="margin:0;"></div>            <ul class="pagination new-page-color pagination-to-page" style="margin:0">                <li class="disabled">                    <a style="padding: 0;padding-left: 5px;padding-right: 5px;">                        每页                        <input kendo-numeric-text-box k-min="1" k-max="50" k-ng-model="pageSize" style="width:63px;" k-on-change="onPageSizeChanged(pageSize)" k-options="{format: \'#\', decimals:0}" />                        条                    </a>                </li>            </ul>            <ul class="pagination" style="margin:0">                <li class="disabled"><a>共{{pageData.totalCount}}条</a></li>            </ul>        </div>    </div></div>');templateCache.put('/app/management/views/organization/organization-business-view.html','<div class="organization-business-view enyo" ares-clean-kendo>    <style scoped>        .organization-business-view .k-grid td {            text-align: left;        }        .organization-business-view .k-grid .k-grid-content .cell-center {            text-align: center;        }        .organization-business-view .k-grid .k-grid-content td .btn-group button {            border: none;            color: #00a6c9;            background: transparent;        }        .organization-business-view .search-item .k-input {            box-shadow: none;        }        .organization-business-view .search-item button {            margin-left: 10px;            height: 33.5px;        }        .organization-business-view .refresh-btn {            color: #00a6c9;            cursor: pointer;            margin-right: 10px;        }        .organization-business-view .organization-business-grid{          min-height: 300px;        }    </style>    <div class="revisit-plan-search clearfix">        <div class="search-item pull-left" style="margin-right:10px;">            <input id="businessStatus" class="form-control" style="width: 200px;" />        </div>        <div class="search-item pull-left">            <button type="button" class="lc-btn lc-btn-primary" ng-click="search()">查询</button>            <button type="button" class="lc-btn lc-btn-info" ng-click="refresh()" style="margin-left:5px;">清空</button>        </div>        <div class="search-item pull-right" style="line-height:33px;" ng-click="businessEditDialog()">            <button class="btn btn-icon btn-primary btn-wide">                <i class="iconfont icon-xinzengliebiao"></i> 添加职务信息            </button>        </div>    </div>    <div class="ares-lc-k-grid" style="margin-top:10px;">        <div class="organization-business-grid" id="organizationBusinessGrid">        </div>        <div class="table-footer lc-table-footer">            <div pagination total-items="pageData.totalCount" items-per-page="pageData.pageSize" ng-model="pageIndex" ng-change="onPageChanged(pageIndex)" max-size="10" first-text="第一页" previous-text="前一页" next-text="后一页" last-text="最后一页" rotate="true" class="pagination new-page-color"              boundary-links="true" style="margin:0;"></div>            <ul class="pagination new-page-color pagination-to-page" style="margin:0">                <li class="disabled">                    <a style="padding: 0;padding-left: 5px;padding-right: 5px;">                        每页                        <input kendo-numeric-text-box k-min="1" k-max="50" k-ng-model="pageSize" style="width:63px;" k-on-change="onPageSizeChanged(pageSize)" k-options="{format: \'#\', decimals:0}" />                        条                    </a>                </li>            </ul>            <ul class="pagination" style="margin:0">                <li class="disabled"><a>共{{pageData.totalCount}}条</a></li>            </ul>        </div>    </div></div>');templateCache.put('/app/management/views/organization/organization-department-view.html','<div class="organization-department-view enyo" ares-clean-kendo>    <style scoped>        .organization-department-view .k-grid td {            text-align: left;        }        .organization-department-view .k-grid .k-grid-content .cell-center {            text-align: center;        }        .organization-department-view .k-grid .k-grid-content td .btn-group button {            border: none;            color: #00a6c9;            background: transparent;        }        .organization-department-view .search-item .k-input {            box-shadow: none;        }        .organization-department-view .search-item button {            margin-left: 10px;            height: 33.5px;        }        .organization-department-view .refresh-btn {            color: #00a6c9;            cursor: pointer;            margin-right: 10px;        }        .organization-department-view .organization-department-grid{          min-height: 300px;        }    </style>    <div class="revisit-plan-search clearfix">        <div class="search-item pull-left" style="margin-right:10px;">            <input id="departmentType" class="form-control" style="width: 200px;" />        </div>        <div class="search-item pull-left" style="margin-right:10px;">            <input id="departmentStatus" class="form-control" style="width: 200px;" />        </div>        <div class="search-item pull-left">            <button type="button" class="lc-btn lc-btn-primary" ng-click="search()">查询</button>            <button type="button" class="lc-btn lc-btn-info" ng-click="refresh()" style="margin-left:5px;">清空</button>        </div>        <div class="search-item pull-right" style="line-height:33px;" ng-click="departmentEditDialog()">            <button class="btn btn-icon btn-primary btn-wide">                <i class="iconfont icon-xinzengliebiao"></i> 添加科室信息            </button>        </div>    </div>    <div class="ares-lc-k-grid" style="margin-top:10px;">        <div class="organization-department-grid" id="organizationDepartmentGrid">        </div>        <div class="table-footer lc-table-footer">            <div pagination total-items="pageData.totalCount" items-per-page="pageData.pageSize" ng-model="pageIndex" ng-change="onPageChanged(pageIndex)" max-size="10" first-text="第一页" previous-text="前一页" next-text="后一页" last-text="最后一页" rotate="true" class="pagination new-page-color"              boundary-links="true" style="margin:0;"></div>            <ul class="pagination new-page-color pagination-to-page" style="margin:0">                <li class="disabled">                    <a style="padding: 0;padding-left: 5px;padding-right: 5px;">                        每页                        <input kendo-numeric-text-box k-min="1" k-max="50" k-ng-model="pageSize" style="width:63px;" k-on-change="onPageSizeChanged(pageSize)" k-options="{format: \'#\', decimals:0}" />                        条                    </a>                </li>            </ul>            <ul class="pagination" style="margin:0">                <li class="disabled"><a>共{{pageData.totalCount}}条</a></li>            </ul>        </div>    </div></div>');templateCache.put('/app/management/views/organization/organization-home-view.html','<ares-tab states="states" root-state="organizationCenter"></ares-tab>');templateCache.put('/app/management/views/organization/organization-orgmanagement-view.html','<div class="organization-organization-view enyo" ares-clean-kendo>    <style scoped>        .organization-wrapper{          margin-top: 20px;        }        .organization-organization-view .headquarters-catalog {            width: 325px;        }        .organization-organization-view .title {            font-size: 20px;            font-weight: bold;            margin-top: 10px;        }        .organization-wrapper .k-treeview-lines>li {            padding-left: 0;        }        .organization-wrapper .k-treeview .k-plus,        .organization-wrapper .k-treeview .k-minus,        .organization-wrapper .k-treeview .k-plus-disabled,        .organization-wrapper .k-treeview .k-minus-disabled {            margin-left: 0;        }        .organization-wrapper .k-treeview span.k-in {            margin-left: 0;            display: inline-block;            width: calc(100% - 10px);            margin-right: 0;            padding-right: 0;            padding-left: 8px;        }        .organization-wrapper .k-treeview span.k-icon+span.k-in {            width: calc(100% - 30px);        }        .organization-wrapper .k-treeview span.k-in.k-state-selected {            background-color: #00a6c9;        }        .organization-wrapper .k-treeview span.k-in.k-state-focused {            box-shadow: none;        }        .headquartersCatalog .k-treeview li[role="treeitem"]>div {            border: 1px solid #cfdbdd;            margin-bottom: 2px;        }        .headquartersCatalog .k-treeview li.k-first[aria-selected="true"]>.k-top,        .headquartersCatalog .k-treeview li.k-last[aria-selected="true"]>.k-bot {            background-color: #00a6c9;        }        .department-catalog {            width: 365px;            min-height: 500px;            margin-left: 40px;            padding: 10px 20px;            border: 1px solid #00a6c9;            box-shadow: 0 1px 15px rgba(142, 142, 142, 0.5);        }        .department-catalog .input-group-clean {            width: 325px;        }        .departmentCatalog {            margin-top: 10px;        }        .departmentCatalog .k-treeview li[role="treeitem"]>div {            border: 1px solid #596365;            margin-bottom: 2px;            background-color: #596365;            color: #fff;        }        .departmentCatalog .k-state-hover,        .departmentCatalog .k-state-hover:hover,        .departmentCatalog .k-treeview li.k-first[aria-selected="true"]>.k-top,        .departmentCatalog .k-treeview li.k-last[aria-selected="true"]>.k-bot,        .organization-wrapper .departmentCatalog .k-treeview span.k-in.k-state-selected {            background-color: #596365;            color: #fff;        }        .departmentCatalog .k-item .k-bot {            position: relative;        }        .departmentCatalog .k-item .k-in .tree-item-name .iconfont {            right: 10px;            cursor: pointer;            position: absolute;        }        .department-no-data {            margin-top: 100px;            margin-left: 160px;            float: left;            position: relative;            line-height: 130px;        }        .department-no-data i {            font-size: 88px;            color: #fac977;            float: left;        }        .department-no-data .text {            font-size: 16px;            float: left;            margin-top: 10px;            margin-left: 10px;        }    </style>    <div class="organization-wrapper clearfix">        <div class="pull-left headquarters-catalog">            <h1 class="title enyo-text-primary">{{::officeInfo.name}}</h1>            <div class="headquartersCatalog" id="headquartersCatalog">                <div id="ortTreeview"></div>            </div>        </div>        <div class="pull-left department-catalog" ng-show="selectedOffice">            <div class="input-group input-group-clean">                <input type="text" class="form-control" ng-model="providerName" ng-change="search(providerName);" placeholder="请输入员工姓名" />                <span class="input-group-addon">                  <i class="iconfont icon-sousuo" ng-if="!isSearch"></i>                    <i class="iconfont icon-guanbi" ng-if="isSearch" ng-click="clearSearch()"></i>                </span>            </div>            <div class="departmentCatalog" id="departmentCatalog">                <div id="departmentTreeview" ng-show="!isSearch"></div>                <div id="departmentTreeviewSearch" ng-show="isSearch"></div>            </div>        </div>        <div class="department-no-data clearfix" ng-if="!dCatalogData">            <i class="iconfont icon-yiyuan"></i>            <span class="text">请在左侧选择医院</span>        </div>    </div></div>');templateCache.put('/app/management/views/orgchain/orgchain-base-data-view.html','<div id="organization-base-data-config" ares-clean-kendo ng-style="{\'height\' : isAres3 ? \'calc(100vh - 130px)\' : \'auto\'}">    <style>        #organization-base-data-config table {            padding: 0;            width: 100%;            border: 1px solid #e3e3e3;        }            #organization-base-data-config table th {                font-weight: normal;                text-align: center;                border-right: 1px solid #e3e3e3;                border-bottom: 1px solid #e3e3e3;            }            #organization-base-data-config table td {                text-align: center;                border-right: 1px solid #e3e3e3;                border-bottom: 1px solid #e3e3e3;                font-size: 14px;            }        #organization-base-data-config .switch-disabled {            background: #eee;        }        #organization-base-data-config .table-description {            margin-top: 20px;        }        #organization-base-data-config .switch {            display: inline-block;            background-image: url(/Content/imgs/bg-switch.png);            background-size: 42px 36px;            width: 42px;            height: 18px;        }            #organization-base-data-config .switch.on {                background-position-y: 0;            }            #organization-base-data-config .switch.off {                background-position-y: -18px;            }            #organization-base-data-config .switch.off {                background-position-y: -18px;            }        #organization-base-data-config .hover a {            cursor: pointer;        }            #organization-base-data-config .hover a:hover {                color: black;            }        #organization-base-data-config .no-hover a, a:hover, a:active {            color: gray;            cursor: default;        }    </style>        <div ng-show="isGroup || isRegularChainOffice" ng-cloak>        <div class="table-description" ng-style="{\'margin-top\': isAres3 ? \'0px\' : \'20px\' }">            <span ng-if="isGroup">可使用上级的配置（仅对直营群组），及可分发给下级的配置：</span>            <span ng-if="!isGroup">可使用上级的配置：</span>        </div>        <table id="configTable" style="margin-top:3px;">            <tr style="height: 43px; background-color: #f5f5f5;">                <th style="width:15%">配置类别</th>                <th style="width:15%">使用上级配置</th>                <th style="width:15%" ng-if="isGroup">分发至下级</th>                <th>描述</th>                <th style="width:15%" ng-if="isGroup">操作</th>            </tr>            <tr ng-repeat="option in options" style="height:50px;">                <td>                    <span ng-bind="option.title"></span>                </td>                <td ng-class="option.canUseParent ? \'\' : \'switch-disabled\'">                    <a style="margin-left: 5px; display: inline-block; margin-top: 3px; vertical-align: middle; " ng-click="onIsParentEnabledClicked(option)">                        <i ng-class="option.isParentEnabled? \'switch on\':\'switch off\'"></i>                    </a>                </td>                <td ng-if="isGroup" ng-class="option.canBePublic ? \'\' : \'switch-disabled\'">                    <a style="margin-left: 5px; display: inline-block; margin-top: 3px; vertical-align: middle; " ng-click="onIsPublicClicked(option)">                        <i ng-class="option.isPublic? \'switch on\':\'switch off\'"></i>                    </a>                </td>                <td style="text-align: left; padding-left:20px;">                    <span ng-bind="option.description"></span>                </td>                <td ng-class="option.isPublic ? \'hover\' : \'no-hover switch-disabled\'" ng-if="isGroup">                    <a ng-click="onDistributionClicked(option)">分发</a>                </td>            </tr>        </table>        <div class="table-description">            <span ng-if="isGroup">对于直营群组，必须使用上级的配置：</span>            <span ng-if="!isGroup">必须使用上级的配置：</span>        </div>        <table style="margin-top:3px;width:60%">            <tr style="height: 43px; background-color: #f5f5f5;">                <th style="width:15%">配置类别</th>                <th>描述</th>            </tr>            <tr style="height:50px;">                <td>                    <span>库存</span>                </td>                <td style="text-align: left; padding-left:20px;">                    <span>物品，品牌，供应商，大类，单位</span>                </td>            </tr>            <tr style="height:50px;">                <td>                    <span>会员卡券</span>                </td>                <td style="text-align: left; padding-left:20px;">                    <span>会员类型，营销优惠方案</span>                </td>            </tr>            <tr style="height:50px;">                <td>                    <span>患者来源</span>                </td>                <td style="text-align: left; padding-left:20px;">                    <span>患者来源一级，患者来源二级</span>                </td>            </tr>            <tr style="height:50px;">                <td>                    <span>患者标签</span>                </td>                <td style="text-align: left; padding-left:20px;">                    <span>患者标签</span>                </td>            </tr>        </table>    </div>    <div ng-show="!isGroup && !isRegularChainOffice" ng-cloak style="font-size:16px;">该页面仅供直营门店使用！</div></div>');templateCache.put('/app/management/views/orgchain/orgchain-business-data-view.html','<div id="organization-business-data-config" ares-clean-kendo ng-style="{\'height\' : isAres3 ? \'calc(100vh - 130px)\' : \'auto\'}">    <style>        #organization-business-data-config input{            margin-left:30px;        }    </style>    <div class="form-group">        <label for="officeType" class="col-sm-2 control-label">数据共享类型</label>        <div class="col-sm-8 input-container">            <input type="radio" disabled ng-value=0 ng-model="office.bizType" name="selectState">加盟            <input type="radio" disabled ng-value=1 ng-model="office.bizType" name="selectState">直营        </div>    </div></div>');templateCache.put('/app/management/views/orgchain/orgchain-home-view.html','<ares-tab states="states" root-state="orgchainCenter"></ares-tab>');templateCache.put('/app/management/views/outprocess/denture-products-edit-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">编辑义齿产品</h4>    </div>    <div class="modal-body ares-dialog-body" style="border-left:0px;border-right:0px">        <form name="dentureProductsForm" id="dentureProductsForm" class="form-horizontal" style="margin-left:25px;">            <div class="form-group">                <label class="col-sm-3 control-label">义齿类别</label>                <div class="col-sm-5">                    <input class="form-control" id="productCatagory" type="text" ng-disabled="dentureProducts.isDefault" />                </div>            </div>            <div class="form-group">                <label class="col-sm-3 control-label">二级类别</label>                <div class="col-sm-5">                    <input class="form-control" ng-model="dentureProducts.dentureType" ng-disabled="dentureProducts.isDefault" />                </div>            </div>            <div class="form-group">                <label class="col-sm-3 control-label" style="color: red !important;">义齿产品 *</label>                <div class="col-sm-5">                    <input class="form-control" id="dentureProduct" name="dentureProduct" ng-model="dentureProducts.dentureProduct" ng-disabled="dentureProducts.isDefault" />                </div>            </div>            <div class="form-group">                <label class="col-sm-3 control-label" style="color: red !important;">拼首码 *</label>                <div class="col-sm-5">                    <input class="form-control" id="pinyin" ng-model="dentureProducts.pinyin" />                </div>            </div>            <div class="form-group" ng-show="dentureProducts.productCatagory==\'固定义齿\'">                <label class="col-sm-3 control-label">产品材料</label>                <div class="col-sm-5">                    <select kendo-combo-box="" ng-model="dentureProducts.material" k-data-text-field="\'itemName\'" k-data-value-field="\'itemName\'" k-data-source="materialList" style="width: 100%" ng-disabled="dentureProducts.isDefault" ></select>                </div>            </div>            <div class="form-group" ng-show="dentureProducts.productCatagory==\'固定义齿\'">                <label class="col-sm-3 control-label">修复形式</label>                <div class="col-sm-5">                    <select kendo-combo-box="" ng-model="dentureProducts.repairType" k-data-text-field="\'itemName\'" k-data-value-field="\'itemName\'" k-data-source="repairTypeList" style="width: 100%" ng-disabled="dentureProducts.isDefault"></select>                </div>            </div>            <div class="form-group" ng-show="dentureProducts.productCatagory==\'固定义齿\'">                <label class="col-sm-3 control-label">加工方式</label>                <div class="col-sm-5">                    <select kendo-combo-box="" ng-model="dentureProducts.processMethod" k-data-text-field="\'itemName\'" k-data-value-field="\'itemName\'" k-data-source="processMethodList" style="width: 100%" ng-disabled="dentureProducts.isDefault"></select>                </div>            </div>            <div class="form-group" ng-show="dentureProducts.productCatagory==\'活动义齿\'">                <label class="col-sm-3 control-label">支架材料</label>                <div class="col-sm-5">                    <input class="form-control" ng-model="dentureProducts.stentMaterial" ng-disabled="dentureProducts.isDefault" />                </div>            </div>            <div class="form-group" ng-show="dentureProducts.productCatagory==\'活动义齿\'">                <label class="col-sm-3 control-label">基托材料</label>                <div class="col-sm-5">                    <input class="form-control" ng-model="dentureProducts.baseMaterial" ng-disabled="dentureProducts.isDefault" />                </div>            </div>            <!--<div class="form-group">                <label class="col-sm-3 control-label">计价单位</label>                <div class="col-sm-5">                    <input class="form-control" ng-model="dentureProducts.unit" />                </div>            </div>-->            <!--<div class="form-group">                <label class="col-sm-3 control-label">价格</label>                <div class="col-sm-5">                    <input style="width:150px" kendo-numeric-text-box k-min="0" k-max="99999999" k-ng-model="dentureProducts.price" />                </div>            </div>-->            <div style="margin-left:430px;">                <button class="btn btn-primary" ng-click="validAndSave()">保存</button>                <button class="btn btn-primary" ng-click="cancel()">关闭</button>            </div>        </form>    </div>    <notification-upload-success></notification-upload-success></div>');templateCache.put('/app/management/views/outprocess/denture-products-view.html','<div class="ares-main-content" ares-clean-kendo>    <div class="ares-page-header">        <table style="width:100%">            <tr>                <td style="width:210px"><h1 style="margin:0">义齿产品配置</h1></td>                <td align="right">                    <button type="button" class="btn btn-default" ng-click="exportExcel()">导出Excel</button>                    <button type="button" class="btn btn-primary" ng-click="createFactory()" style="margin-right:25px">新建义齿产品</button>                </td>            </tr>        </table>    </div>    <div style="margin-top:10px;" id="dentureProductsList"></div>    <notification-upload-success></notification-upload-success></div>');templateCache.put('/app/management/views/outprocess/outprocess-factory-view.html','<div class="ares-main-content" ares-clean-kendo>    <div class="ares-page-header">        <table style="width:100%">            <tr>                <td style="width:210px"><h1 style="margin:0">加工厂信息配置</h1></td>                <td align="right">                    <button type="button" class="btn btn-default" ng-click="exportExcel()">导出Excel</button>                    <button type="button" class="btn btn-primary" ng-click="createFactory()" style="margin-right:25px">新建工厂</button>                </td>            </tr>        </table>    </div>    <style scoped>        .k-grid td {            padding: 0;        }    </style>    <div style="margin-top:10px;" id="outprocessFactoryList"></div>    <notification-upload-success></notification-upload-success></div>');templateCache.put('/app/management/views/outprocess/outprocess-home-view.html','<ares-tab states="states" root-state="outprocessCenter"></ares-tab>');templateCache.put('/app/management/views/outprocess/outprocessorder-borwser-view.html','<div class="ares-main-content" ares-clean-kendo>    <div class="ares-page-header">        <table>            <tr>                <!--<td style="width:160px"><h1 style="margin:0">技加工管理</h1></td>-->                <td style="width:80px">                    <label class="radio-inline">                        <input type="radio" name="dateType" ng-value="true" ng-model="isBySendDate" ng-change="handleKendoDropDownSelect(isBySendDate,true)">送件时间                    </label><br />                    <label class="radio-inline">                        <input type="radio" name="dateType" ng-value="false" ng-model="isBySendDate" ng-change="handleKendoDropDownSelect(isBySendDate,true)">收件时间                    </label>                </td>                <td>                    <select id="daysBeforeTodayInput" class="not-ignore" kendo-drop-down-list k-options="dropOptions" style=" width:90px" k-on-change="handleKendoDropDownSelect(isBySendDate)">                        <option value="0">今日</option>                        <option value="1">明日</option>                        <option value="自定义">自定义</option>                    </select>                </td>                <td class="isHideData" style="width: 120px;margin-left:20px">                    <input id="startDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.startDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 120px;">                </td>                <td class="isHideData" style="padding-left: 5px; padding-right: 5px;"><label>-</label></td>                <td class="isHideData" style="width: 120px; ">                    <input id="endDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.endDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 120px; ">                </td>                <td style="padding-left: 10px; padding-right: 5px;"><label>医生</label></td>                <td style="width: 90px; ">                    <input id="doctorInput" type="text" class="form-control" style="width: 90px; ">                </td>                <td style="padding-left: 10px; padding-right: 5px;"><label>状态</label></td>                <td style="width: 90px; ">                    <input id="stateInput" type="text" class="form-control" style="width: 90px; ">                </td>                <td style="padding-left: 10px; padding-right: 5px;"><label>加工厂</label></td>                <td style="width: 90px; ">                    <input id="supplyers" type="text" class="form-control" style="width: 90px; ">                </td>                <td style="width: 50px; padding-left: 5px; padding-right: 5px; ">                    <a class="btn btn-default" ares-slow-click="refresh()">查询</a>                </td>                <td>                    <button type="button"  sensors-enabled="true" sensors-event-name="OutprocessorderBorwser" sensors-event-type="打印" class="btn btn-default" ng-click="print()" style="margin-left:15px;" ng-disabled="pageData.length <= 0">                        <span class="glyphicon glyphicon-print" aria-hidden="true"></span> 打印                    </button>                </td>                <td style="width: 70px; padding-left: 10px; padding-right: 10px; "><button type="button"  sensors-enabled="true" sensors-event-name="OutprocessorderBorwser" sensors-event-type="导出加工单" class="btn btn-default" ares-slow-click="exportExcel()" ares-authorize="managementCenter.outprocessExcel">导出加工单</button></td>                <td><button type="button"  sensors-enabled="true" sensors-event-name="OutprocessorderBorwser" sensors-event-type="导出加工项目" class="btn btn-default" ares-slow-click="exportDetail()" ares-authorize="managementCenter.outprocessExcel">导出加工项目</button></td>            </tr>        </table>    </div>    <script id="rowTemplate" type="text/x-kendo-tmpl">        <tr class="assignment-table-row1">            <td>                <table style="width:150px;">                    <tr style="height:20px;">                        <td style="border-top: 0;text-align:right;padding:0;width:50%;">${topLeft}</td>                        <td style="border-top: 0;text-align:left;padding:0;width:50%;">${topRight}</td>                    </tr>                    <tr style="height:20px;">                        <td style="text-align:right;padding:0;width:50%;">${bottomLeft}</td>                        <td style="text-align:left;padding:0;width:50%;">${bottomRight}</td>                    </tr>                </table>            </td>            <td>${ itemName }</td>            <td>${ colorCode }</td>            <td>${ count }</td>        </tr>    </script>    <script id="outprocesstemplate" type="text/x-kendo-template">        <a title="查看患者信息" onclick="OutProcessPatientCtrl_goToPatient(this)">#: patientName #</a>    </script>    <div style="margin-top:10px;" id="outprocessorderList"></div></div>');templateCache.put('/app/management/views/patient-video/patient-video-view.html','<div class="management-patient-video-container">    <div>医患沟通视频</div>    <ul class="management-patient-video-list clearfix">        <li ng-repeat="video in patientVideoList track by $index">            <div class="management-patient-video-item" ng-click="handlePlay(video, $index)">                <img src="/Content/imgs/video-cover.png" alt="{{video.name}}">                <div class="patient-video-play-modal">                    <i class="iconfont icon-bofang"></i>                </div>            </div>            <div style="padding: 10px 0;">{{video.name}}</div>        </li>    </ul></div>');templateCache.put('/app/management/views/patienttag/tag-center-browser-home-view.html','<div class="ares-main-content" ares-clean-kendo>    <div class="ares-page-content">        <div class="table-responsive row">            <div class="col-md-7">                <tag-center-browser-view></tag-center-browser-view>            </div>        </div>    </div></div>');templateCache.put('/app/management/views/patienttag/tag-center-home-view.html','<ares-tab states="states" root-state="tagCenter"></ares-tab>');templateCache.put('/app/management/views/personal-performance/personal-charge-detail-view.html','<div class="ares-main-content" ares-clean-kendo>    <div>        <table>            <tr>                <!--<td style="width:120px"><h1 style="margin:0">账单明细(收入明细)(个人绩效)</h1></td>-->                <td style="width:80px">                    <label class="radio-inline">                        <input type="radio" name="dateType" ng-value="true" ng-click="radioCharge(true)" ng-model="defaultSelect">日查询                    </label><br />                    <label class="radio-inline">                        <input type="radio" name="dateType" ng-value="false" ng-click="radioCharge(false)" ng-model="defaultSelect">月查询                    </label>                </td>                <td style="width: 130px" ng-show="defaultSelect">                    <input id="startDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.startTime" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;">                </td>                <td style="width: 190px" ng-hide="defaultSelect">                    <input id="startTimePicker" type="text" class="form-control" kendo-date-time-picker k-ng-model="timeSpan.startTime" k-format="\'yyyy-MM-dd HH:mm\'" k-culture="zh-CN" style="width: 190px;">                </td>                <td style="padding-left: 5px; padding-right: 5px;" ng-hide="defaultSelect">-</td>                <td style="width: 190px; " ng-hide="defaultSelect">                    <input id="endTimePicker" type="text" class="form-control" kendo-date-time-picker k-ng-model="timeSpan.endTime" k-format="\'yyyy-MM-dd HH:mm\'" k-culture="zh-CN" style="width: 190px; ">                </td>                <td style="padding-left: 10px; padding-right: 10px; " ng-show="defaultSelect">状态</td>                <td style="padding-right: 10px; ">                    <select id="statusInput" class="not-ignore" kendo-drop-down-list style=" width: 85px; margin-left: 10px">                        <option value="全部" selected="selected">全部</option>                        <option value="已收费">已收费</option>                        <option value="退费">退费</option>                    </select>                </td>                <td>                    <button type="button" class="btn btn-default" ares-slow-click="search()" style="margin-left:10px;">                        <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                    </button>                    <button type="button" class="btn btn-default" ares-authorize="personalperformance.excel" ares-slow-click="exportExcel()" ng-disabled="pageData.length <= 0">                        导出Excel                    </button>                </td>            </tr>        </table>    </div>    <div style="margin-top:2px;">        <div id="detailList">            <div id="chargeDetailList"></div>            <table style="width:100%">                <tr><td style="text-align:left;"><div>总记录数：{{pageData.length}}</div></td></tr>            </table>        </div>    </div>    <notification-upload-success></notification-upload-success></div>');templateCache.put('/app/management/views/personal-performance/personal-consultant-work-summary-report-view.html','<div class="ares-main-content" ares-clean-kendo>    <div>        <table>            <tr>                <!--<td style="width:120px"><h1 style="margin:0">咨询师工作汇总</h1></td>-->                <td style="width:80px">                    <label class="radio-inline">                        <input type="radio" name="dateType" ng-value="true" ng-model="defaultSelect">日查询                    </label><br />                    <label class="radio-inline">                        <input type="radio" name="dateType" ng-value="false" ng-model="defaultSelect">月查询                    </label>                </td>                <td style="width: 130px" ng-show="defaultSelect">                    <input id="startDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.startTime" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;">                </td>                <td style="width: 190px" ng-hide="defaultSelect">                    <input id="startTimePicker" type="text" class="form-control" kendo-date-time-picker k-ng-model="timeSpan.startTime" k-format="\'yyyy-MM-dd HH:mm\'" k-culture="zh-CN" style="width: 190px;">                </td>                <td style="padding-left: 5px; padding-right: 5px;" ng-hide="defaultSelect">-</td>                <td style="width: 190px; " ng-hide="defaultSelect">                    <input id="endTimePicker" type="text" class="form-control" kendo-date-time-picker k-ng-model="timeSpan.endTime" k-format="\'yyyy-MM-dd HH:mm\'" k-culture="zh-CN" style="width: 190px; ">                </td>                <td style="padding-left: 10px; padding-right:5px; width:90px; ">自定义标签</td>                <td style="width: 130px;">                    <input type="text" class="form-control" ng-model="privateTag" style="width: 180px">                </td>                <td style="padding-left: 10px; padding-right:5px; width:90px; ">是否成交</td>                <td style="width: 130px;">                    <select class="not-ignore" kendo-drop-down-list style=" width:100px" ng-model="isDealed">                        <option value="-1">全部</option>                        <option value="0">未成交</option>                        <option value="1">已成交</option>                    </select>                </td>                <td>                    <button type="button" class="btn btn-default" ares-slow-click="search()" style="margin-left:20px;">                        <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                    </button>                 <!--    <button type="button" class="btn btn-default" ng-click="exportExcel()" style="margin-left:15px;" ng-disabled="pageData.length <= 0" ares-authorize="personalperformance.excel">                        导出Excel                    </button> -->                </td>            </tr>        </table>    </div>    <div style="margin-top:2px;">        <div id="consultantWorkSummaryList" ng-show="!isEmpty"></div>        <div ng-show="isEmpty"><h2>没有查询到数据!</h2></div>    </div></div>');templateCache.put('/app/management/views/personal-performance/personal-network-consultant-work-summary-report-view.html','<div class="personal-network-consultant-work-summary-main" ares-clean-kendo>    <style>        .personal-network-consultant-work-summary-main .panel-input-group {            margin: 0px 8px 10px 8px !important;        }            .personal-network-consultant-work-summary-main .panel-input-group label {                margin-right: 10px;                font-weight: normal;            }        .personal-network-consultant-work-summary-main .search-item {            float: left;        }            .personal-network-consultant-work-summary-main .search-item .seach-checkbox {                display: inline;                margin-left: 25px;                line-height: 34px;            }            .personal-network-consultant-work-summary-main .search-item .inputsearchtext {                margin-left: 10px;                float: left;                width: 200px;                border-top-right-radius: 0;                border-bottom-right-radius: 0;            }        .personal-network-consultant-work-summary-main .iconsearchbtn {            float: left;            width: auto;            line-height: 20px;            cursor: pointer;        }        .personal-network-consultant-work-summary-main .active-pl {            text-align: center;            background-color: #00a8cb;            color: white;            border: 1px solid #00a8cb;            width: 108px;            height: 31px;            padding-top: 5px;            cursor: pointer;        }        .personal-network-consultant-work-summary-main .not-active-pl {            text-align: center;            color: #666a73;            border: 1px solid #e3e3e3;            width: 108px;            height: 31px;            padding-top: 5px;            cursor: pointer;        }        .pull-left {            width: auto !important;            padding-left: 5px !important;            padding-right: 5px !important;        }        .checked-status label {            color: #575D6A;            font: 14px regular;            display: inline-block !important;            cursor: pointer;        }    </style>    <div style="display: inline-block; width: 100%;" id="divCondition">        <div class="col-md-11">            <ul class="flex-panel" style="float: left">                <li class="flex-panel-item panel-input-group">                    <label>                        <label class="radio-inline">                            <input type="radio" name="dateType" ng-value="1" ng-click="radioCharge(1)" ng-model="defaultSelect">预约时间                        </label><br />                        <label class="radio-inline">                            <input type="radio" name="dateType" ng-value="0" ng-click="radioCharge(0)" ng-model="defaultSelect">创建时间                        </label><br />                        <label class="radio-inline">                            <input type="radio" name="dateType" ng-value="2" ng-click="radioCharge(2)" ng-model="defaultSelect">初诊时间                        </label>                    </label>                    <date-range-selector-view default-time-span="timeSpan" on-date-changed="onDateChanged"></date-range-selector-view>                </li>                <li class="flex-panel-item panel-input-group">                    <div class="search-item">                        <input class="form-control inputsearchtext" ng-model="searchText" placeholder="搜索患者" ng-blur="onSearch()" style="width: 120px;" />                        <span class="input-group-addon iconsearchbtn">                            <i class="glyphicon glyphicon-search" tooltip="姓名/拼音/手机/病历号/..." tooltip-placement="bottom" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter"></i>                        </span>                    </div>                </li>                <!--<li class="flex-panel-item panel-input-group">                    <label>初复诊</label>                    <select id="apptIsFirstVisitInput" class="not-ignore" ng-model="apptIsFirstVisit" ng-change="onSearch()" kendo-drop-down-list style="width: 100px">                        <option value="">全部</option>                        <option value="true">初诊</option>                        <option value="false">复诊</option>                    </select>                </li>-->                <li class="flex-panel-item panel-input-group">                    <label>创建人</label><input id="createdUser" type="text" class="form-control" ng-model="selectedCreatedUserId" style="width: 100px">                </li>                <li class="flex-panel-item panel-input-group" ng-show="isGroup">                    <label>预约门店</label>                    <span>                        <input type="text" class="form-control" ng-model="selectedNamesMulti" placeholder="全部" style="width: 100px" ng-readonly="true" ng-click="openOfficeGroupMultDialog()">                    </span>                </li>                <li class="flex-panel-item panel-input-group">                    <label>预约项目</label>                    <span>                        <input type="text" class="form-control" ng-model="transactionCodeNames" placeholder="全部" ng-disabled="!isShowTransactionItem" style="width: 180px" ng-readonly="true" ng-click="openTransactionItemsDialog()">                    </span>                </li>                <li class="flex-panel-item panel-input-group">                    <label>收费项目</label>                    <span>                        <input type="text" class="form-control" ng-model="chargeItemNames" placeholder="全部" ng-disabled="!isShowChargeItem" style="width: 180px" ng-readonly="true" ng-click="openChargeItemsDialog()">                    </span>                </li>                <li class="flex-panel-item panel-input-group">                    <label>就诊类型</label>                    <span>                        <input class="form-control" id="checkInType" style="width:210px;max-width:360px;margin-left:10px;">                    </span>                </li>                <li class="flex-panel-item panel-input-group" ng-if="isShowConsultantDropDown">                    <label>网电咨询师</label><network-consultant-list-multi-select-view select-width="400" selected-Id="defaultconsultantId" on-consultant-changed="onConsultantChanged" is-department-level="isDepartmentLevel"></network-consultant-list-multi-select-view>                </li>                <li class="flex-panel-item panel-input-group checked-status">                    <label class=\'checkbox inline seach-checkbox\' style=\'margin-left:30px;\'>                        <input type="checkbox" style=\'margin-right:8px;\' ng-click=\'notCheckedInData()\' ng-model=\'notCheckedIn\'>预约未到店                    </label>                </li>                <li class="flex-panel-item panel-input-group checked-status">                    <label style=\'margin-left:30px;\' class=\'checkbox inline seach-checkbox\'>                        <input type="checkbox" style=\'margin-right:8px;\' ng-click=\'getNotCheckOutData()\' ng-model=\'notCheckedOut\'>到店未成交                    </label>                </li>                <li class="flex-panel-item panel-input-group checked-status">                    <label style=\'margin-left:30px;\' class=\'checkbox inline seach-checkbox\'>                        <input type="checkbox" style=\'margin-right:8px;\' ng-click=\'getCheckedOutData()\' ng-model=\'checkedOut\'>到店已成交                    </label>                </li>            </ul>        </div>        <div class="col-md-1">            <div class="block-title" style="background-color: white; float: right;margin-right:-15px">                <a class="btn btn-default" ares-authorize="personalperformance.excel" ares-slow-click="exportPersonalWorkSummary()">导出</a>            </div>        </div>        <!--   <div class=\'col-md-12\' style=\'margin-left:23px;\'>          </div> -->    </div>    <div style="margin-top: 0px;">        <div id="performanceList"></div>    </div></div>');templateCache.put('/app/management/views/personal-performance/personal-performance-charge-category-view.html','<div class="ares-main-content" ares-clean-kendo>    <div>        <table>            <tr>                <!--<td style="width:250px"><h1 style="margin:0">收费大类(个人绩效)</h1></td>-->                <td style="width:80px">                    <label class="radio-inline">                        <input type="radio" name="dateType" ng-value="true" ng-model="defaultSelect">日查询                    </label><br />                    <label class="radio-inline">                        <input type="radio" name="dateType" ng-value="false" ng-model="defaultSelect">月查询                    </label>                </td>                <td style="width: 130px" ng-show="defaultSelect">                    <input id="startDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.startTime" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;">                </td>                <td style="width: 190px" ng-hide="defaultSelect">                    <input id="startTimePicker" type="text" class="form-control" kendo-date-time-picker k-ng-model="timeSpan.startTime" k-format="\'yyyy-MM-dd HH:mm\'" k-culture="zh-CN" style="width: 190px;">                </td>                <td style="padding-left: 5px; padding-right: 5px;" ng-hide="defaultSelect">-</td>                <td style="width: 190px; " ng-hide="defaultSelect">                    <input id="endTimePicker" type="text" class="form-control" kendo-date-time-picker k-ng-model="timeSpan.endTime" k-format="\'yyyy-MM-dd HH:mm\'" k-culture="zh-CN" style="width: 190px; ">                </td>                <td style="width:75px;padding-left: 10px;">                    <label class="radio-inline">                        <input type="radio" name="categoryType" ng-value="0" ng-model="selectSuperType">大类                    </label><br />                    <label class="radio-inline">                        <input type="radio" name="categoryType" ng-value="1" ng-model="selectSuperType">小类                    </label>                </td>                <td style="width:70px;padding-left: 10px;">                    <label class="radio-inline">                        <input type="radio" name="priceType" ng-value="true" ng-model="selectActualPrice">实收                    </label><br />                    <label class="radio-inline">                        <input type="radio" name="priceType" ng-value="false" ng-model="selectActualPrice">应收                    </label>                </td>                <td>                    <button type="button" class="btn btn-default" ares-slow-click="search()" style="margin-left:20px;">                        <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                    </button>                    <button type="button" class="btn btn-default" ares-slow-click="exportExcel()"ares-authorize="personalperformance.excel" style="margin-left:15px;" ng-disabled="dataSource.length <= 0">                        导出Excel                    </button>                </td>            </tr>        </table>    </div>    <div style="margin-top:10px;">        <div style="margin-top:10px;">            <div ng-show="dataSource && dataSource.length > 0" id="doctorChargeCategoryReportList" style="overflow-x:auto;"></div>        </div>        <table style="width:100%;" ng-show="dataSource && dataSource.length > 0">            <tr>                <td ng-hide="showOverflowWarning" >分摊规则：按照支付方式的金额占比分摊至各个收费项目</td>                <td ng-show="showOverflowWarning" style="color: red;">警告：收费项目数量超过统计最大限制，当前结果只汇总统计前80000条数据</td>                <td style="text-align:right;">总记录数:{{count}}</td>            </tr>        </table>        <div ng-hide="dataSource && dataSource.length > 0"><h2>没有查询到数据!</h2></div>    </div></div>');templateCache.put('/app/management/views/personal-performance/personal-performance-charge-class-view.html','<div class="ares-main-content" ares-clean-kendo>    <div class="ares-page-header">        <table>            <tr>                <td style="width:250px"><h1 style="margin:0">收费大类</h1></td>                <td style="width: 100px;padding-right: 10px;">                    <select id="daysBeforeTodayInput" class="not-ignore" kendo-drop-down-list style=" width:100px">                        <option value="0">本日</option>                        <option value="week">本周</option>                        <option value="month" selected>本月</option>                        <option value="自定义">自定义</option>                    </select>                </td>                <td class="isHideData" style="width: 130px;">                    <input id="startDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.startDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;">                </td>                <td class="isHideData" style="padding-left: 5px; padding-right: 5px;"><label>-</label></td>                <td class="isHideData" style="width: 130px; ">                    <input id="endDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.endDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px; ">                </td>                <td>                    <button type="button" class="btn btn-default" ares-slow-click="search()" style="margin-left:20px;">                        <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                    </button>                    <button type="button" class="btn btn-default" ares-authorize="personalperformance.excel" ares-slow-click="exportExcel()" style="margin-left:15px;">                        导出Excel                    </button>                </td>            </tr>        </table>    </div>    <div style="margin-top:10px;">        <div id="doctorChargeClassReportList" style="overflow-x:auto;"></div>    </div></div>');templateCache.put('/app/management/views/personal-performance/personal-performance-charge-detail-view.html','<div class="ares-main-content" ares-clean-kendo>    <div>        <table>            <tr>                <!--<td style="width:200px"><h1 style="margin:0">收费明细(个人绩效)</h1></td>-->                <td style="width:80px">                    <label class="radio-inline">                        <input type="radio" name="dateType" ng-value="true" ng-model="defaultSelect">日查询                    </label><br />                    <label class="radio-inline">                        <input type="radio" name="dateType" ng-value="false" ng-model="defaultSelect">月查询                    </label>                </td>                <td style="width: 130px" ng-show="defaultSelect">                    <input id="startDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.startTime" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;">                </td>                <td style="width: 190px" ng-hide="defaultSelect">                    <input id="startTimePicker" type="text" class="form-control" kendo-date-time-picker k-ng-model="timeSpan.startTime" k-format="\'yyyy-MM-dd HH:mm\'" k-culture="zh-CN" style="width: 190px;">                </td>                <td style="padding-left: 5px; padding-right: 5px;" ng-hide="defaultSelect">-</td>                <td style="width: 190px; " ng-hide="defaultSelect">                    <input id="endTimePicker" type="text" class="form-control" kendo-date-time-picker k-ng-model="timeSpan.endTime" k-format="\'yyyy-MM-dd HH:mm\'" k-culture="zh-CN" style="width: 190px; ">                </td>                <td style="padding-left: 10px; padding-right: 5px;">收费项目</td>                <td style="width: 130px; ">                    <input type="text" class="form-control" ng-model="chargeItemNames" ng-readonly="true" ng-click="openDialog()">                </td>                <td style="width:70px;padding-left: 10px;">                    <label class="radio-inline">                        <input type="radio" name="priceType" ng-value="true" ng-model="selectActualPrice">实收                    </label><br />                    <label class="radio-inline">                        <input type="radio" name="priceType" ng-value="false" ng-model="selectActualPrice">应收                    </label>                </td>                <td>                    <button type="button" class="btn btn-default" ares-slow-click="search()" style="margin-left:20px;">                        <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                    </button>                    <button type="button" class="btn btn-default" ares-slow-click="exportExcel()"ares-authorize="personalperformance.excel" style="margin-left:15px;" ng-disabled="pageData.length <= 0">                        导出Excel                    </button>                </td>            </tr>        </table>    </div>    <div style="margin-top:2px;">        <div id="doctorChargeDetailReportList"></div>        <table style="width:100%;" ng-show="pageData && pageData.length > 0">            <tr>                <td ng-hide="showOverflowWarning" >注: 1.此报表适用于处置收费，明细收费和跨科收费 2.分摊规则：按照支付方式的金额占比分摊至各个收费项目</td>                <td ng-show="showOverflowWarning" style="color: red;">警告：收费项目数量超过统计最大限制，当前结果只汇总统计前80000条数据</td>                <td style="text-align:right;">总记录数:{{count}},分摊规则</td>            </tr>        </table>        <div ng-hide="pageData && pageData.length > 0"><h2>没有查询到数据!</h2></div>    </div></div>');templateCache.put('/app/management/views/personal-performance/personal-performance-doctor-appt-view.html','<div class="ares-main-content" ares-clean-kendo>    <div>        <table>            <tr>                <!--<td style="width:200px"><h1 style="margin:0">就诊人次</h1></td>-->                <td style="width:80px">                    <label class="radio-inline">                        <input type="radio" name="dateType" ng-value="true" ng-model="defaultSelect">日查询                    </label><br />                    <label class="radio-inline">                        <input type="radio" name="dateType" ng-value="false" ng-model="defaultSelect">月查询                    </label>                </td>                <td style="width: 130px" ng-show="defaultSelect">                    <input id="startDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.startTime" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;">                </td>                <td style="width: 190px" ng-hide="defaultSelect">                    <input id="startTimePicker" type="text" class="form-control" kendo-date-time-picker k-ng-model="timeSpan.startTime" k-format="\'yyyy-MM-dd HH:mm\'" k-culture="zh-CN" style="width: 190px;">                </td>                <td style="padding-left: 5px; padding-right: 5px;" ng-hide="defaultSelect">-</td>                <td style="width: 190px; " ng-hide="defaultSelect">                    <input id="endTimePicker" type="text" class="form-control" kendo-date-time-picker k-ng-model="timeSpan.endTime" k-format="\'yyyy-MM-dd HH:mm\'" k-culture="zh-CN" style="width: 190px; ">                </td>                <td>                    <button type="button" class="btn btn-default" ares-slow-click="search()" style="margin-left:20px;">                        <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                    </button>                    <button type="button" class="btn btn-default" ares-authorize="personalperformance.excel" ares-slow-click="exportExcel()" style="margin-left:20px;">                        导出Excel                    </button>                </td>            </tr>        </table>    </div>    <div style="margin-top:10px;">        <div id="doctorApptCountReportList"></div>    </div></div>');templateCache.put('/app/management/views/personal-performance/personal-performance-home-view.html','<ares-tab states="states"></ares-tab>');templateCache.put('/app/management/views/referral/patient-referral-report-view.html','<div class="patient-referral-report-view enyo" ares-clean-kendo>    <style scoped>        .patient-referral-report-view .patient-referral-list .oper-button {            cursor: pointer;        }    </style>    <div class="patient-referral-report-view-container">        <div class="patient-referral-search clearfix">            <div class="search-item pull-left " style="margin-right:10px;" ng-show="isGroup">                <office-selector style="margin-left: 0; width: 128px;" office-tree-data="officeTreeData"                    select-mode="allSeparate" selected-office-ids="selectedOfficeIdsArray"                    on-selected="onOfficeSelected(selectedOffices)"></office-selector>            </div>            <div class="search-item pull-left " style="margin-right:10px;">                <div class="input-group input-group-clean" style="width:220px;">                    <input type="text" class="form-control" ng-model="criteria.searchText" placeholder="姓名/手机号/病历">                    <span class="input-group-addon" ng-click="onSearch()">                        <i class="iconfont icon-sousuo"></i>                    </span>                </div>            </div>        </div>        <div class="patient-referral-list">            <div id="patientReferralGrid" class="grid-has-checkbox grid-not-has-select-all" style="margin-top:10px;">            </div>            <div class="table-footer lc-table-footer">                <div pagination total-items="patientReferralList.totalCount"                    items-per-page="patientReferralList.pageSize" ng-model="criteria.pageIndex"                    ng-change="onPageChanged(criteria.pageIndex)" max-size="10" first-text="第一页" previous-text="前一页"                    next-text="后一页" last-text="最后一页" rotate="true" class="pagination new-page-color"                    boundary-links="true" style="margin:0;"></div>                <ul class="pagination new-page-color pagination-to-page" style="margin:0">                    <li class="disabled">                        <a style="padding: 0;padding-left: 5px;padding-right: 5px;">                            每页                            <input kendo-numeric-text-box k-min="1" k-max="50" k-ng-model="criteria.pageSize"                                style="width:63px;" k-on-change="onPageSizeChanged(criteria.pageSize)"                                k-options="{format: \'#\', decimals:0}" />                            条                        </a>                    </li>                </ul>                <ul class="pagination" style="margin:0">                    <li class="disabled"><a>共{{patientReferralList.totalCount}}条</a></li>                </ul>            </div>        </div>    </div></div>');templateCache.put('/app/management/views/referral/patient-referral-reward-report-view.html','<div class="patient-referral-reward-report-view enyo" ares-clean-kendo>    <style scoped>        .patient-referral-reward-report-view .patient-referral-reward-list .oper-button {            cursor: pointer;        }        .patient-referral-reward-report-view .aresSearechBox > .form-group {            margin-left: -15px;            margin-right: -15px;        }    </style>    <div class="patient-referral-reward-report-view-container">        <div class="patient-referral-reward-search clearfix" ng-if="!isTotalPaymentRuleType">            <div class="search-item pull-left " style="margin-right:10px;">                <ares-patient-search class="h28" ng-model="patient" is-global-search="false" watermark="搜索被推荐人(姓名/手机号/病历号)"                                     on-patient-selected="onPatientSelected" on-patient-cleared="onPatientCleared"></ares-patient-search>            </div>            <div class="search-item pull-left" style="margin-right:5px;line-height:28px;">                <span>{{timeTitle}}</span>            </div>            <div class="search-item pull-left" style="margin-right:5px;border-left:none;">                <timer-range-picker time-range-date="timeSpan" class="h28"                                    is-disable-huge-time="true" is-show-interval="true"></timer-range-picker>            </div>            <!--<div class="search-item pull-left" style="margin-right:10px;">                <input type="text" ng-model="criteria.visitCount" class="form-control" placeholder="到店次数" />            </div>-->            <div class="search-item pull-left" style="margin-right:10px;">                <ares-patient-search class="h28" ng-model="referee" is-global-search="false" watermark="搜索一级推荐人(姓名/手机号/病历号)"                                       on-patient-selected="onRefereeSelected" on-patient-cleared="onRefereeCleared"></ares-patient-search>            </div>            <div class="search-item pull-left">                <button type="button" class="btn btn-primary h28" ng-click="onSearch()" style="margin-right: 5px;margin-left: 0;">查询</button>                <button type="button" class="btn btn-default h28" ng-click="onRefresh()" style="margin-left:0;">清空</button>            </div>        </div>        <div class="patient-referral-reward-search clearfix" ng-if="isTotalPaymentRuleType">            <div class="search-item pull-left" style="margin-right:10px;">                <ares-patient-search class="h28" ng-model="referee" is-global-search="false" watermark="搜索推荐人(姓名/手机号/病历号)"                                     on-patient-selected="onRefereeSelected" on-patient-cleared="onRefereeCleared"></ares-patient-search>            </div>            <div class="search-item pull-left" style="margin-right:5px;line-height:28px;">                <span>{{timeTitle}}</span>            </div>            <div class="search-item pull-left" style="margin-right:5px;border-left:none;">                <timer-range-picker time-range-date="timeSpan" class="h28"                                    is-disable-huge-time="true" is-show-interval="true"></timer-range-picker>            </div>            <div class="search-item pull-left">                <button type="button" class="btn btn-primary h28" ng-click="onSearch()" style="margin-right: 5px;margin-left: 0;">查询</button>                <button type="button" class="btn btn-default h28" ng-click="onRefresh()" style="margin-left:0;">清空</button>            </div>        </div>        <div class="patient-referral-reward-list">            <div id="patientReferralRewardGrid" class="grid-has-checkbox grid-not-has-select-all th32 td40" style="margin-top:10px;"></div>            <div class="table-footer lc-table-footer">                <div pagination total-items="patientReferralRewardList.totalCount" items-per-page="patientReferralRewardList.pageSize" ng-model="criteria.pageIndex" ng-change="onPageChanged(criteria.pageIndex)" max-size="10" first-text="第一页" previous-text="前一页" next-text="后一页" last-text="最后一页" rotate="true"                     class="pagination new-page-color" boundary-links="true" style="margin:0;"></div>                <ul class="pagination new-page-color pagination-to-page" style="margin:0">                    <li class="disabled">                        <a style="padding: 0;padding-left: 5px;padding-right: 5px;">                            每页                            <input kendo-numeric-text-box k-min="1" k-max="50" k-ng-model="criteria.pageSize" style="width:63px;" k-on-change="onPageSizeChanged(criteria.pageSize)" k-options="{format: \'#\', decimals:0}" />                            条                        </a>                    </li>                </ul>                <ul class="pagination" style="margin:0">                    <li class="disabled"><a>共{{patientReferralRewardList.totalCount}}条</a></li>                </ul>            </div>        </div>    </div></div>');templateCache.put('/app/management/views/referral/patient-referral-visit-report-view.html','<div class="patient-referral-visit-report-view enyo" ares-clean-kendo>    <style scoped>        .patient-referral-visit-report-view .patient-referral-visit-list .oper-button {            cursor: pointer;        }        .patient-referral-visit-report-view .item-label span {            font-size: 12px;        }    </style>    <div class="patient-referral-visit-report-view-container">        <div class="patient-referral-visit-search clearfix">            <div class="search-item pull-left" style="width: 85%">                    <div class="search-item pull-left " style="margin-right:10px;" ng-show="isGroup">                            <div class="search-item item-label" style="margin-right:5px;">                                <span>所属机构</span>                            </div>                            <div class="input-group input-group-clean">                                <office-selector style="margin-left: 0; width: 128px;" office-tree-data="officeTreeData"                                    select-mode="allSeparate" selected-office-ids="selectedOfficeIdsArray"                                    on-selected="onOfficeSelected(selectedOffices)"></office-selector>                            </div>                        </div>                        <div class="search-item pull-left " style="margin-right:10px;">                            <div class="search-item item-label" style="margin-right:5px;">                                <span>姓名/手机号/病历</span>                            </div>                            <div class="input-group input-group-clean" style="width:160px;">                                <input type="text" class="form-control" ng-model="criteria.searchText">                                <span class="input-group-addon" ng-click="onSearch()">                                    <i class="iconfont icon-sousuo"></i>                                </span>                            </div>                        </div>                        <div class="search-item pull-left" style="margin-right:10px;border-left:none;">                            <div class="search-item item-label" style="margin-right:5px;">                                <span>首次到店日期</span>                            </div>                            <timer-range-picker time-range-date="firstVisitTimeSpan" is-disable-huge-time="true"                                is-show-interval="true"></timer-range-picker>                        </div>                        <div class="search-item pull-left" style="margin-right:10px;border-left:none;">                            <div class="search-item item-label" style="margin-right:5px;">                                <span>最后一次到店时间</span>                            </div>                            <timer-range-picker time-range-date="lastVisitTimeSpan" is-disable-huge-time="true"                                is-show-interval="true"></timer-range-picker>                        </div>                        <div class="search-item pull-left" style="margin-right:10px;border-left:none;">                            <div class="search-item item-label" style="margin-right:5px;">                                <span>创建时间</span>                            </div>                            <timer-range-picker time-range-date="createdTimeSpan" is-disable-huge-time="true"                                is-show-interval="true"></timer-range-picker>                        </div>            </div>            <div class="search-item pull-left">                <div class="search-item item-label">                    <span>&nbsp;</span>                </div>                <button type="button" class="btn btn-primary" ng-click="onSearch()"                    style="margin-right: 5px;margin-left: 0;">查询</button>                <button type="button" class="btn btn-default" ng-click="onRefresh()" style="margin-left:0;">清空</button>            </div>        </div>        <div class="patient-referral-visit-list">            <div id="patientReferralVisitGrid" class="grid-has-checkbox grid-not-has-select-all"                style="margin-top:10px;"></div>            <div class="table-footer lc-table-footer">                <div pagination total-items="patientReferralVisitList.totalCount"                    items-per-page="patientReferralVisitList.pageSize" ng-model="criteria.pageIndex"                    ng-change="onPageChanged(criteria.pageIndex)" max-size="10" first-text="第一页" previous-text="前一页"                    next-text="后一页" last-text="最后一页" rotate="true" class="pagination new-page-color"                    boundary-links="true" style="margin:0;"></div>                <ul class="pagination new-page-color pagination-to-page" style="margin:0">                    <li class="disabled">                        <a style="padding: 0;padding-left: 5px;padding-right: 5px;">                            每页                            <input kendo-numeric-text-box k-min="1" k-max="50" k-ng-model="criteria.pageSize"                                style="width:63px;" k-on-change="onPageSizeChanged(criteria.pageSize)"                                k-options="{format: \'#\', decimals:0}" />                            条                        </a>                    </li>                </ul>                <ul class="pagination" style="margin:0">                    <li class="disabled"><a>共{{patientReferralVisitList.totalCount}}条</a></li>                </ul>            </div>        </div>    </div></div>');templateCache.put('/app/management/views/referral/referral-home-view.html','<ares-vertical-tab states="states"></ares-vertical-tab>');templateCache.put('/app/management/views/referral/referral-report-dashboard-view.html','<div class="referral-report-dashboard-view enyo" ares-clean-kendo>    <style scoped>        .referral-report-dashboard-view .summary-block {            margin: auto;            width: 100%;            padding: 10px;            background-color: #F3F7F7;            border-radius: 2px;            padding-left: 15px;        }        .referral-report-dashboard-view .header-content {            display: inline-block;            padding-left: 9px;            padding-top: 3px;            width: 44px;            height: 44px;            border-radius: 100px;            margin-left: 5px;        }        .referral-report-dashboard-view .summary-block .color0 {            background: #26A4D6;        }        .referral-report-dashboard-view .summary-block .color-xinfeng {            background: #7A84C1;        }        .referral-report-dashboard-view .summary-block .color-jine {            background: #D161A1;        }        .referral-report-dashboard-view .header-content-notes {            display: inline-block;            vertical-align: top;            padding-left: 5px;            height: 44px;        }            .referral-report-dashboard-view .header-content-notes .header-content-notes-text {                text-decoration: underline;                font-size: 12px;            }            .referral-report-dashboard-view .header-content-notes .header-content-notes-value {                font-size: 18px;                font-weight: 600;            }        .referral-report-dashboard-view .toplist {            background-color: #F3F7F7;            padding: 10px;            border-radius: 2px;            min-height: 300px;            padding-top: 0px;            font-size: 13px;        }            .referral-report-dashboard-view .toplist table {                width: 100%;            }                .referral-report-dashboard-view .toplist table tr {                    border-bottom-style: solid;                    border-bottom-color: rgba(217,217,217,1);                    border-bottom-width: 1px;                    line-height: 25px;                }            .referral-report-dashboard-view .toplist .toplist_column {                width: 100%;            }        .referral-report-dashboard-view .chart-container {            background-color: #F3F7F7;            padding: 5px;            border-radius: 2px;        }        .referral-report-dashboard-view .table tr td {            padding: 5px;        }        .referral-report-dashboard-view .row div[class^="col-md-"] .chart-container, .referral-report-dashboard-view .row div[class*=" col-md-"] .chart-container {            height: 300px;            margin-right: 5px;            margin-left: 5px;        }            .referral-report-dashboard-view .row div[class^="col-md-"] .chart-container .chart-title, .referral-report-dashboard-view .row div[class*=" col-md-"] .chart-container .chart-title {                font-size: 14px !important;                font-weight: 400;                text-align: left;                padding-left: 10px;                height: 32px;                line-height: 32px;                color: #575D6A;            }            .referral-report-dashboard-view .row div[class^="col-md-"] .chart-container .chart, .referral-report-dashboard-view .row div[class*=" col-md-"] .chart-container .chart {                width: 100%;                height: calc(100% - 5px);            }            .referral-report-dashboard-view .row div[class^="col-md-"] .chart-container .no-data, .referral-report-dashboard-view .row div[class*=" col-md-"] .chart-container .no-data {                top: 50%;                position: absolute;                margin-top: -10px;                text-align: center;                width: 100%;            }        .referral-report-dashboard-view .row .col-left {            width: calc(100% - 190px);            float: left;        }        .referral-report-dashboard-view .row .col-right {            width: 190px;            float: left;        }    </style>    <div class="row">        <div class="col-md-4 ">            <div class="summary-block">                <div style="height: 44px;">                    <div class="header-content color0">                        <i class="iconfont icon-duoren" style="color:white;font-size: 26px;"></i>                    </div>                    <div class="header-content-notes">                        <div class="header-content-notes-value">{{referralSummary.refereeCount}}</div>                        <div class="header-content-notes-text">推荐人总数</div>                    </div>                </div>            </div>        </div>        <div class="col-md-4 ">            <div class="summary-block">                <div style="height: 44px;">                    <div class="header-content color-jine">                        <i class="iconfont icon-jine" style="color:white;font-size: 26px;"></i>                    </div>                    <div class="header-content-notes">                        <div class="header-content-notes-value">{{referralSummary.sumAmount}}</div>                        <div class="header-content-notes-text">累计推荐消费金额</div>                    </div>                </div>            </div>        </div>        <div class="col-md-4 ">            <div class="summary-block">                <div style="height: 44px;">                    <div class="header-content color-xinfeng">                        <i class="iconfont icon-xinfeng" style="color:white;font-size: 26px;"></i>                    </div>                    <div class="header-content-notes">                        <div class="header-content-notes-value">{{referralSummary.refererCount}}</div>                        <div class="header-content-notes-text">被推荐人总数</div>                    </div>                </div>            </div>        </div>    </div>    <div class="row enyo-mt-10">        <div class="col-md-9 col-left enyo-headline enyo-h32">            <span class="enyo-headline-text enyo-lh-32 enyo-mr-10" style="font-weight: bold;">被推荐人数趋势</span>            <timer-range-picker time-range-date="dateRangeMap[\'ReferralCountTrendReport\']" on-changed="onReferralCountDateRangeChanged"                                style="display: inline-block; vertical-align: middle" max-month-range="12"></timer-range-picker>        </div>        <div class="col-md-3 col-right enyo-headline enyo-h32">            <span class="enyo-headline-text enyo-lh-32 enyo-mr-10" style="font-weight: bold;">推荐人数Top10</span>        </div>    </div>    <div class="row enyo-mt-10">        <div class="col-md-9 col-left">            <div class="chart-container">                <div class="chart" id="referral-report-dashboard-referral-count-trend" ng-show="!uiState.chartStates[\'ReferralCountTrendReport\'].noData"></div>                <div class="no-data" ng-if="uiState.chartStates[\'ReferralCountTrendReport\'].noData">无数据</div>            </div>        </div>        <div class="col-md-3 col-right">            <div class="toplist">                <table>                    <tbody>                        <tr ng-repeat="item in referralCountRankData">                            <td class="toplist_column"><span style="float: left;">{{($index+1)+\'、\'+item.name}}</span><span style="float: right;">{{item.value}}</span></td>                        </tr>                    </tbody>                </table>            </div>        </div>    </div>    <div class="row enyo-mt-10">        <div class="col-md-9 col-left enyo-headline enyo-h32">            <span class="enyo-headline-text enyo-lh-32 enyo-mr-10" style="font-weight: bold;">推荐消费金额趋势</span>            <timer-range-picker time-range-date="dateRangeMap[\'ReferralChargeAmountTrendReport\']" on-changed="onReferralAmountDateRangeChanged"                                style="display: inline-block; vertical-align: middle" max-month-range="12"></timer-range-picker>        </div>        <div class="col-md-3 col-right enyo-headline enyo-h32">            <span class="enyo-headline-text enyo-lh-32 enyo-mr-10" style="font-weight: bold;">推荐消费金额Top10</span>        </div>    </div>    <div class="row enyo-mt-10">        <div class="col-md-9 col-left">            <div class="chart-container">                <div class="chart" id="referral-report-dashboard-referral-amount-trend"                     ng-show="!uiState.chartStates[\'ReferralChargeAmountTrendReport\'].noData"></div>                <div class="no-data" ng-if="uiState.chartStates[\'ReferralChargeAmountTrendReport\'].noData">无数据</div>            </div>            <div style="height: 50px;"></div>        </div>        <div class="col-md-3 col-right">            <div class="toplist">                <table>                    <tbody>                        <tr ng-repeat="item in referralAmountRankData">                            <td class="toplist_column"><span style="float: left;">{{($index+1)+\'、\'+item.name}}</span><span style="float: right;">{{item.value}}</span></td>                        </tr>                    </tbody>                </table>            </div>        </div>    </div></div>');templateCache.put('/app/management/views/referral/referral-arrival-config/referral-arrival-config-view.html','<div class="referral-arrival-config-view enyo">    <style>        .referral-arrival-config-view {            font-size: 13px;        }            .referral-arrival-config-view .config-label {                width: 80px;                float: left;                line-height: 28px;                text-align: right;            }            .referral-arrival-config-view .config-value {                float: left;            }            .referral-arrival-config-view .tooltip {                width: 312px;            }                .referral-arrival-config-view .tooltip .tooltip-inner {                    max-width: unset;                }            .referral-arrival-config-view .ares-numeric-input-input {                text-align: left;                padding-left: 10px;            }            .referral-arrival-config-view .stair-separator {                position: absolute;                height: 54px;                width: 38px;                border-left: 1px solid #d9d9d9;                border-bottom: 1px solid #d9d9d9;                top: 23px;                left: 111px;            }                .referral-arrival-config-view .stair-separator:after {                    content: "";                    width: 24px;                    height: 5px;                    border-bottom: 1px solid #d9d9d9;                    position: absolute;                    top: -4px;                    right: 25px;                }            .referral-arrival-config-view .stair-separator-view {                position: absolute;                height: 48px;                width: 38px;                border-left: 1px solid #d9d9d9;                border-bottom: 1px solid #d9d9d9;                top: -4px;                left: 16px;            }                .referral-arrival-config-view .stair-separator-view:after {                    content: "";                    width: 17px;                    height: 5px;                    border-bottom: 1px solid #d9d9d9;                    position: absolute;                    top: 15px;                    left: 0;                }    </style>    <div class="enyo-mt-10 enyo-lh-28 enyo-fs-14">        <ares-switch on-label="启用" off-label="未启用" is-disabled="{{!uiState.isEdit}}" value="referralConfig.isEnabled"></ares-switch>        <button class="btn btn-primary pull-right h28" ng-if="!uiState.isEdit" ng-click="edit()" ares-hide-when-parent="Referral" ares-authorize="referralCenter.referralConfig">编辑</button>    </div>    <div class="enyo-dashed-line"></div>    <div ng-if="!uiState.isEdit">        <div class="clearfix">            <div class="config-label">                激励有效期：            </div>            <div class="config-value enyo-lh-28">                <span ng-if="referralConfig.validDayCount > 0">                    {{referralConfig.validDayCount}}天                </span>                <span ng-if="referralConfig.validDayCount < 1">                    不限制                </span>            </div>        </div>        <div class="clearfix">            <div class="config-label">                激励方式：            </div>            <div class="config-value enyo-lh-28">                积分            </div>        </div>        <div class="clearfix">            <div class="config-label">                激励模式：            </div>            <div class="config-value enyo-lh-28">                阶梯式                <div style="position: relative;">                    <div style="margin-left: 40px;">                        患者到店次数小于等于{{referralConfig.rules[0].level1Benchmark}}次，患者                        <span class="enyo-text-dark enyo-text-bold">每次到店</span>                        <a class="enyo-link-reverse" style="text-decoration: underline;" data-toggle="tooltip" title="当A的患者来源为默认来源-朋友介绍-B，则A为被推荐人，B为推荐人。当A的推荐人是B，B的推荐人是C，则B是A的一级推荐人，C是A的二级推荐人。">                            一级推荐人                        </a>                        可获得                        &nbsp;<span class="enyo-text-dark enyo-text-bold">{{referralConfig.rules[0].level1ActionData1}}</span>&nbsp;                        积分；                        <a class="enyo-link-reverse" style="text-decoration: underline;" data-toggle="tooltip" title="当A的患者来源为默认来源-朋友介绍-B，则A为被推荐人，B为推荐人。当A的推荐人是B，B的推荐人是C，则B是A的一级推荐人，C是A的二级推荐人。">                            二级推荐人                        </a>                        获得                        &nbsp;<span class="enyo-text-dark enyo-text-bold">{{referralConfig.rules[0].level2ActionData1}}</span>&nbsp;                        积分                    </div>                    <div style="margin-left: 66px;">                        患者到店次数大于{{referralConfig.rules[0].level1Benchmark}}次，患者                        <span class="enyo-text-dark enyo-text-bold">每次到店</span>                        <a class="enyo-link-reverse" style="text-decoration: underline;" data-toggle="tooltip" title="当A的患者来源为默认来源-朋友介绍-B，则A为被推荐人，B为推荐人。当A的推荐人是B，B的推荐人是C，则B是A的一级推荐人，C是A的二级推荐人。">                            一级推荐人                        </a>                        可获得                        &nbsp;<span class="enyo-text-dark enyo-text-bold">{{referralConfig.rules[0].level1ActionData2}}</span>&nbsp;                        积分；                        <a class="enyo-link-reverse" style="text-decoration: underline;" data-toggle="tooltip" title="当A的患者来源为默认来源-朋友介绍-B，则A为被推荐人，B为推荐人。当A的推荐人是B，B的推荐人是C，则B是A的一级推荐人，C是A的二级推荐人。">                            二级推荐人                        </a>                        获得                        &nbsp;<span class="enyo-text-dark enyo-text-bold">{{referralConfig.rules[0].level2ActionData2}}</span>&nbsp;                        积分                    </div>                    <div class="stair-separator-view"></div>                </div>            </div>        </div>    </div>    <div class="referral-arrival-config-form" ng-if="uiState.isEdit">        <div class="clearfix">            <div class="config-label">                激励有效期：            </div>            <div class="config-value">                <input type="radio" class="enyo-radio" ng-model="uiState.isValidDayEnabled" ng-value="true" id="referral-arrival-config-validation-on">                <label for="referral-arrival-config-validation-on" class="enyo-radio-label h28 enyo-mr-20">                    限制                    <span class="enyo-text-primary" style="vertical-align: middle;" title="推荐成功后，被推荐人在有效期内消费/到店才会按照规则给推荐人赠送积分" data-toggle="tooltip">                        <i class="iconfont icon-xinxi1"></i>                    </span>                </label>                <input type="radio" class="enyo-radio" ng-model="uiState.isValidDayEnabled" ng-value="false" id="referral-arrival-config-validation-off">                <label for="referral-arrival-config-validation-off" class="enyo-radio-label h28 enyo-mr-20">                    不限制                </label>                <div class="enyo-static-popover" ng-if="uiState.isValidDayEnabled">                    推荐成功后                    <ares-numeric-input value="referralConfig.validDayCount" input-width="60px" class="h28" hide-btn="true" min="1"></ares-numeric-input>                    天内有效                </div>            </div>        </div>        <div class="clearfix enyo-mt-10">            <div class="config-label">                激励方式：            </div>            <div class="config-value">                <input type="radio" class="enyo-radio" checked disabled>                <label class="enyo-radio-label h28 enyo-mr-20">                    积分                </label>            </div>        </div>        <div class="clearfix enyo-mt-10">            <div class="config-label">                激励模式：            </div>            <div class="config-value">                <input type="radio" class="enyo-radio" disabled checked>                <label class="enyo-radio-label h28 enyo-mr-20">                    阶梯式                    <span class="enyo-text-primary" style="vertical-align: middle;" title="举例说明：一级推荐人的次数阈值为3，小于等于阈值的激励积分为5，大于阈值的激励积分为3，若此次被推荐人到店是第2次到店，则推荐人可获得5个积分，如果此次被推荐人到店是第6次，则推荐人可获得3个积分" data-toggle="tooltip">                        <i class="iconfont icon-xinxi1"></i>                    </span>                </label>                <div class="enyo-static-popover">                    <div>                        <span style="margin-right: 30px;">患者到店次数：</span>                        小于等于                        <ares-numeric-input value="referralConfig.rules[0].level1Benchmark" input-width="60px" class="h28" hide-btn="true" min="0" max="100"></ares-numeric-input>                        次；                        <span class="enyo-text-dark enyo-text-bold">每次到店</span>                        <a class="enyo-link-reverse" style="text-decoration: underline;" data-toggle="tooltip" title="当A的患者来源为默认来源-朋友介绍-B，则A为被推荐人，B为推荐人。当A的推荐人是B，B的推荐人是C，则B是A的一级推荐人，C是A的二级推荐人。">                            一级推荐人                        </a>                        可获得                        <ares-numeric-input value="referralConfig.rules[0].level1ActionData1" input-width="60px" class="h28" hide-btn="true" min="0" max="999999"></ares-numeric-input>                        积分；                        <a class="enyo-link-reverse" style="text-decoration: underline;" data-toggle="tooltip" title="当A的患者来源为默认来源-朋友介绍-B，则A为被推荐人，B为推荐人。当A的推荐人是B，B的推荐人是C，则B是A的一级推荐人，C是A的二级推荐人。">                            二级推荐人                        </a>                        获得                        <ares-numeric-input value="referralConfig.rules[0].level2ActionData1" input-width="60px" class="h28" hide-btn="true" min="0" max="999999"></ares-numeric-input>                        积分；                    </div>                    <div style="margin-top: 25px;">                        <span style="margin-left: 151px;"></span>                        大于                        <ares-numeric-input value="referralConfig.rules[0].level1Benchmark" input-width="60px" class="h28" hide-btn="true" min="0" max="100"></ares-numeric-input>                        次；                        <span class="enyo-text-dark enyo-text-bold">每次到店</span>                        <a class="enyo-link-reverse" style="text-decoration: underline;" data-toggle="tooltip" title="当A的患者来源为默认来源-朋友介绍-B，则A为被推荐人，B为推荐人。当A的推荐人是B，B的推荐人是C，则B是A的一级推荐人，C是A的二级推荐人。">                            一级推荐人                        </a>                        可获得                        <ares-numeric-input value="referralConfig.rules[0].level1ActionData2" input-width="60px" class="h28" hide-btn="true" min="0" max="999999"></ares-numeric-input>                        积分；                        <a class="enyo-link-reverse" style="text-decoration: underline;" data-toggle="tooltip" title="当A的患者来源为默认来源-朋友介绍-B，则A为被推荐人，B为推荐人。当A的推荐人是B，B的推荐人是C，则B是A的一级推荐人，C是A的二级推荐人。">                            二级推荐人                        </a>                        获得                        <ares-numeric-input value="referralConfig.rules[0].level2ActionData2" input-width="60px" class="h28" hide-btn="true" min="0" max="999999"></ares-numeric-input>                        积分；                    </div>                    <div class="stair-separator"></div>                </div>            </div>        </div>        <div class="enyo-mt-10" style="margin-left: 84px;">            <button class="btn btn-primary" ng-click="save()">保存</button>            <button class="btn btn-default" ng-click="cancel()">取消</button>        </div>    </div>    <div class="enyo-mt-10" style="height:32px;line-height:32px;" ng-if="uiState.isNewWxEnabled">        您可前往<label style="font-weight:bold;cursor:pointer;color: #00A6C9;" ng-click="setReferralRule()">这里</label>配置微信邀请好友的激励规则    </div>    <div class="enyo-dashed-line"></div></div>');templateCache.put('/app/management/views/referral/referral-payment-config/referral-payment-config-view.html','<div class="referral-payment-config-view enyo">    <style>        .referral-payment-config-view {            font-size: 13px;        }            .referral-payment-config-view .config-label {                width: 80px;                float: left;                line-height: 28px;                text-align: right;            }            .referral-payment-config-view .config-value {                float: left;            }            .referral-payment-config-view .config-option {                margin-left: 80px;            }            .referral-payment-config-view .tooltip {                width: 312px;            }                .referral-payment-config-view .tooltip .tooltip-inner {                    max-width: unset;                }            .referral-payment-config-view .ares-numeric-input-input {                text-align: left;                padding-left: 10px;            }            .referral-payment-config-view .stair-separator {                position: absolute;                height: 54px;                width: 38px;                border-left: 1px solid #d9d9d9;                border-bottom: 1px solid #d9d9d9;                top: 23px;                left: 111px;            }                .referral-payment-config-view .stair-separator:after {                    content: "";                    width: 24px;                    height: 5px;                    border-bottom: 1px solid #d9d9d9;                    position: absolute;                    top: -4px;                    right: 25px;                }            .referral-payment-config-view .stair-separator-view {                position: absolute;                height: 48px;                width: 38px;                border-left: 1px solid #d9d9d9;                border-bottom: 1px solid #d9d9d9;                top: -4px;                left: 16px;            }            .referral-payment-config-view .stair-separator-view2 {                position: absolute;                height: 20px;                width: 38px;                border-left: 1px solid #d9d9d9;                border-bottom: 1px solid #d9d9d9;                top: -4px;                left: 16px;            }            .referral-payment-config-view .stair-separator-view:after {                content: "";                width: 17px;                height: 5px;                border-bottom: 1px solid #d9d9d9;                position: absolute;                top: 15px;                left: 0;            }            .referral-payment-config-view .non-step-mode-static-popover:before,            .referral-payment-config-view .non-step-mode-static-popover:after {                left: 130px;            }    </style>    <div class="enyo-mt-10 enyo-lh-28 enyo-fs-14">        <ares-switch on-label="启用" off-label="未启用" is-disabled="{{!uiState.isEdit}}" value="referralConfig.isEnabled"></ares-switch>        <button class="btn btn-primary pull-right h28" ng-if="!uiState.isEdit" ng-click="edit()"                ares-hide-when-parent="Referral" ares-authorize="referralCenter.referralConfig">            编辑        </button>    </div>    <div class="enyo-dashed-line"></div>    <div ng-if="!uiState.isEdit">        <div class="clearfix">            <div class="config-label">                激励有效期：            </div>            <div class="config-value enyo-lh-28">                <span ng-if="referralConfig.validDayCount > 0">                    {{referralConfig.validDayCount}}天                </span>                <span ng-if="referralConfig.validDayCount < 1">                    不限制                </span>            </div>        </div>        <div class="clearfix">            <div class="config-label">                激励方式：            </div>            <div class="config-value enyo-lh-28">                <div class="config-value enyo-lh-28">                    积分                </div>            </div>        </div>        <div class="clearfix">            <div class="config-label">                激励模式：            </div>            <div class="config-value enyo-lh-28">                <span ng-if="uiState.isStepModeEnabled">阶梯式</span>                <input type="checkbox" class="enyo-checkbox" id="isWithdrawRequiredDisabled" ng-model="referralConfig.isWithdrawRequired"                       ng-if="uiState.isStepModeEnabled" disabled>                <label class="enyo-checkbox-label" for="isWithdrawRequiredDisabled"                       ng-if="uiState.isStepModeEnabled">被推荐人退费后，收回已经激励的积分</label>                <div ng-show="uiState.isStepModeEnabled" style="position: relative;">                    <div style="margin-left: 40px;">                        患者单笔消费小于等于{{referralConfig.rules[0].level1Benchmark}}元，患者                        <span class="enyo-text-dark enyo-text-bold">每次消费</span>                        <a class="enyo-link-reverse" style="text-decoration: underline;" data-toggle="tooltip"                           title="当A的患者来源为默认来源-朋友介绍-B，则A为被推荐人，B为推荐人。当A的推荐人是B，B的推荐人是C，则B是A的一级推荐人，C是A的二级推荐人。">                            一级推荐人                        </a>                        可获得                        &nbsp;<span class="enyo-text-dark enyo-text-bold">{{referralConfig.rules[0].level1ActionData1}}</span>&nbsp;                        倍消费额的积分；                        <a class="enyo-link-reverse" style="text-decoration: underline;" data-toggle="tooltip"                           title="当A的患者来源为默认来源-朋友介绍-B，则A为被推荐人，B为推荐人。当A的推荐人是B，B的推荐人是C，则B是A的一级推荐人，C是A的二级推荐人。">                            二级推荐人                        </a>                        获得                        &nbsp;<span class="enyo-text-dark enyo-text-bold">{{referralConfig.rules[0].level2ActionData1}}</span>&nbsp;                        倍消费额的积分                    </div>                    <div style="margin-left: 66px;">                        患者单笔消费大于{{referralConfig.rules[0].level1Benchmark}}元，患者                        <span class="enyo-text-dark enyo-text-bold">每次消费</span>                        <a class="enyo-link-reverse" style="text-decoration: underline;" data-toggle="tooltip"                           title="当A的患者来源为默认来源-朋友介绍-B，则A为被推荐人，B为推荐人。当A的推荐人是B，B的推荐人是C，则B是A的一级推荐人，C是A的二级推荐人。">                            一级推荐人                        </a>                        可获得                        &nbsp;<span class="enyo-text-dark enyo-text-bold">{{referralConfig.rules[0].level1ActionData2}}</span>&nbsp;                        倍消费额的积分；                        <a class="enyo-link-reverse" style="text-decoration: underline;" data-toggle="tooltip"                           title="当A的患者来源为默认来源-朋友介绍-B，则A为被推荐人，B为推荐人。当A的推荐人是B，B的推荐人是C，则B是A的一级推荐人，C是A的二级推荐人。">                            二级推荐人                        </a>                        获得                        &nbsp;<span class="enyo-text-dark enyo-text-bold">{{referralConfig.rules[0].level2ActionData2}}</span>&nbsp;                        倍消费额的积分                    </div>                    <div class="stair-separator-view"></div>                </div>                <span ng-if="!uiState.isStepModeEnabled">非阶梯式</span>                <input type="checkbox" class="enyo-checkbox" id="isWithdrawRequired" ng-model="referralConfig.isWithdrawRequired"                       ng-if="!uiState.isStepModeEnabled" disabled>                <label class="enyo-checkbox-label" for="isWithdrawRequired"                       ng-if="!uiState.isStepModeEnabled">被推荐人退费后，收回已经激励的积分</label>                <div ng-show="!uiState.isStepModeEnabled" style="position: relative;">                    <div style="margin-left: 40px;">                        患者                        <span class="enyo-text-dark enyo-text-bold">每次消费</span>                        <a class="enyo-link-reverse" style="text-decoration: underline;" data-toggle="tooltip"                           title="当A的患者来源为默认来源-朋友介绍-B，则A为被推荐人，B为推荐人。当A的推荐人是B，B的推荐人是C，则B是A的一级推荐人，C是A的二级推荐人。">                            一级推荐人                        </a>                        可获得                        &nbsp;<span class="enyo-text-dark enyo-text-bold">{{referralConfig.rules[0].level1ActionData1}}</span>&nbsp;                        倍消费额的积分；                        <a class="enyo-link-reverse" style="text-decoration: underline;" data-toggle="tooltip"                           title="当A的患者来源为默认来源-朋友介绍-B，则A为被推荐人，B为推荐人。当A的推荐人是B，B的推荐人是C，则B是A的一级推荐人，C是A的二级推荐人。">                            二级推荐人                        </a>                        获得                        &nbsp;<span class="enyo-text-dark enyo-text-bold">{{referralConfig.rules[0].level2ActionData1}}</span>&nbsp;                        倍消费额的积分                    </div>                    <div class="stair-separator-view2"></div>                </div>            </div>        </div>        <div style="margin-left: 80px;" class="enyo-lh-28">            <div>*注：1、消费金额为收费单实付金额；</div>            <div style="margin-left: 33px;">2、激励倍数说明：若系数为0.01则表示每消费100元激励1积分，若系数为1，则表示每消费1元激励1积分，若系数为100，则表示每消费1元激励100积分； </div>        </div>    </div>    <div class="referral-payment-config-form" ng-if="uiState.isEdit">        <div class="clearfix">            <div class="config-label">                激励有效期：            </div>            <div class="config-value">                <input type="radio" class="enyo-radio" ng-model="uiState.isValidDayEnabled" ng-value="true"                       id="referral-payment-config-validation-on">                <label for="referral-payment-config-validation-on" class="enyo-radio-label h28 enyo-mr-20">                    限制                    <span class="enyo-text-primary" style="vertical-align: middle;"                          title="推荐成功后，被推荐人在有效期内消费/到店才会按照规则给推荐人赠送积分" data-toggle="tooltip">                        <i class="iconfont icon-xinxi1"></i>                    </span>                </label>                <input type="radio" class="enyo-radio" ng-model="uiState.isValidDayEnabled" ng-value="false"                       id="referral-payment-config-validation-off">                <label for="referral-payment-config-validation-off" class="enyo-radio-label h28 enyo-mr-20">                    不限制                </label>                <div class="enyo-static-popover" ng-if="uiState.isValidDayEnabled">                    推荐成功后                    <ares-numeric-input value="referralConfig.validDayCount" input-width="60px" class="h28"                                        hide-btn="true" min="1"></ares-numeric-input>                    天内有效                </div>            </div>        </div>        <div class="clearfix enyo-mt-10">            <div class="config-label">                激励方式：            </div>            <div class="config-value">                <input type="radio" class="enyo-radio" checked disabled>                <label class="enyo-radio-label h28 enyo-mr-20">                    积分                </label>            </div>        </div>        <div class="clearfix enyo-mt-10">            <div class="config-label">                激励模式：            </div>            <div class="config-value">                <input type="radio" class="enyo-radio" ng-model="uiState.isStepModeEnabled" ng-value="true"                       id="referral-payment-config-step-mode-on" ng-change="onStepModeChanged()">                <label for="referral-payment-config-step-mode-on" class="enyo-radio-label h28 enyo-mr-20">                    阶梯式                    <span class="enyo-text-primary" style="vertical-align: middle;"                          title="举例说明：一级推荐人的消费金额阈值为100元，小于等于阈值的激励积分为5倍，大于阈值的激励积分为3倍，若此次被推荐人消费金额为150元，则一级推荐人可获得450个积分，如果此次被推荐人消费金额为80元，则一级推荐人可获得400个积分"                          data-toggle="tooltip">                        <i class="iconfont icon-xinxi1"></i>                    </span>                </label>                <input type="radio" class="enyo-radio" ng-model="uiState.isStepModeEnabled" ng-value="false"                       id="referral-payment-config-step-mode-off">                <label for="referral-payment-config-step-mode-off" class="enyo-radio-label h28 enyo-mr-20">                    非阶梯式                </label>                <div class="enyo-static-popover" ng-show="uiState.isStepModeEnabled">                    <div>                        <span style="margin-right: 30px;">患者单笔消费：</span>                        小于等于                        <ares-numeric-input value="referralConfig.rules[0].level1Benchmark" input-width="60px"                                            class="h28" hide-btn="true" min="0" max="99999999"></ares-numeric-input>                        元；                        <span class="enyo-text-dark enyo-text-bold">每次消费</span>                        <a class="enyo-link-reverse" style="text-decoration: underline;" data-toggle="tooltip"                           title="当A的患者来源为默认来源-朋友介绍-B，则A为被推荐人，B为推荐人。当A的推荐人是B，B的推荐人是C，则B是A的一级推荐人，C是A的二级推荐人。">                            一级推荐人                        </a>                        可获得                        <ares-numeric-input value="referralConfig.rules[0].level1ActionData1" decimal="2"                                            input-width="60px" class="h28" hide-btn="true" min="0" max="100"></ares-numeric-input>                        倍消费额的积分；                        <a class="enyo-link-reverse" style="text-decoration: underline;" data-toggle="tooltip"                           title="当A的患者来源为默认来源-朋友介绍-B，则A为被推荐人，B为推荐人。当A的推荐人是B，B的推荐人是C，则B是A的一级推荐人，C是A的二级推荐人。">                            二级推荐人                        </a>                        获得                        <ares-numeric-input value="referralConfig.rules[0].level2ActionData1" decimal="2"                                            input-width="60px" class="h28" hide-btn="true" min="0" max="100"></ares-numeric-input>                        倍消费额的积分；                    </div>                    <div style="margin-top: 25px;">                        <span style="margin-left: 151px;"></span>                        大于                        <ares-numeric-input value="referralConfig.rules[0].level1Benchmark" input-width="60px"                                            class="h28" hide-btn="true" min="0" max="99999999"></ares-numeric-input>                        元；                        <span class="enyo-text-dark enyo-text-bold">每次消费</span>                        <a class="enyo-link-reverse" style="text-decoration: underline;" data-toggle="tooltip"                           title="当A的患者来源为默认来源-朋友介绍-B，则A为被推荐人，B为推荐人。当A的推荐人是B，B的推荐人是C，则B是A的一级推荐人，C是A的二级推荐人。">                            一级推荐人                        </a>                        可获得                        <ares-numeric-input value="referralConfig.rules[0].level1ActionData2" decimal="2"                                            input-width="60px" class="h28" hide-btn="true" min="0" max="100"></ares-numeric-input>                        倍消费额的积分；                        <a class="enyo-link-reverse" style="text-decoration: underline;" data-toggle="tooltip"                           title="当A的患者来源为默认来源-朋友介绍-B，则A为被推荐人，B为推荐人。当A的推荐人是B，B的推荐人是C，则B是A的一级推荐人，C是A的二级推荐人。">                            二级推荐人                        </a>                        获得                        <ares-numeric-input value="referralConfig.rules[0].level2ActionData2" decimal="2"                                            input-width="60px" class="h28" hide-btn="true" min="0" max="100"></ares-numeric-input>                        倍消费额的积分；                    </div>                    <div class="stair-separator"></div>                </div>                <div class="enyo-static-popover non-step-mode-static-popover" ng-show="!uiState.isStepModeEnabled">                    <div>                        <span class="enyo-text-dark enyo-text-bold">患者每次消费：</span>                        <a class="enyo-link-reverse" style="text-decoration: underline;" data-toggle="tooltip"                           title="当A的患者来源为默认来源-朋友介绍-B，则A为被推荐人，B为推荐人。当A的推荐人是B，B的推荐人是C，则B是A的一级推荐人，C是A的二级推荐人。">                            一级推荐人                        </a>                        可获得                        <ares-numeric-input value="referralConfig.rules[0].level1ActionData1" input-width="60px" decimal="2"                                            class="h28" hide-btn="true" min="0" max="100"></ares-numeric-input>                        倍消费额的积分；                        <a class="enyo-link-reverse" style="text-decoration: underline;" data-toggle="tooltip"                           title="当A的患者来源为默认来源-朋友介绍-B，则A为被推荐人，B为推荐人。当A的推荐人是B，B的推荐人是C，则B是A的一级推荐人，C是A的二级推荐人。">                            二级推荐人                        </a>                        获得                        <ares-numeric-input value="referralConfig.rules[0].level2ActionData1" input-width="60px" decimal="2"                                            class="h28" hide-btn="true" min="0" max="100"></ares-numeric-input>                        倍消费额的积分；                    </div>                </div>            </div>        </div>        <div class="enyo-mt-10">            <div style="margin-left: 80px;" class="enyo-lh-28">                <div>*注：1、消费金额为收费单实付金额；</div>                <div style="margin-left: 33px;">2、激励倍数说明：若系数为0.01则表示每消费100元激励1积分，若系数为1，则表示每消费1元激励1积分，若系数为100，则表示每消费1元激励100积分； </div>            </div>            <div style="margin-left: 80px;" class="enyo-lh-28">                <input type="checkbox" class="enyo-checkbox" id="isWithdrawRequired"                       ng-model="referralConfig.isWithdrawRequired">                <label class="enyo-checkbox-label" for="isWithdrawRequired">被推荐人退费后，收回已经激励的积分</label>            </div>        </div>        <div class="enyo-mt-10" style="margin-left: 84px;">            <button class="btn btn-primary" ng-click="save()">保存</button>            <button class="btn btn-default" ng-click="cancel()">取消</button>        </div>    </div>    <div class="enyo-mt-10" style="height:32px;line-height:32px;" ng-if="uiState.isNewWxEnabled">        您可前往<label style="font-weight:bold;cursor:pointer;color: #00A6C9;" ng-click="setReferralRule()">这里</label>配置微信邀请好友的激励规则    </div>    <div class="enyo-dashed-line"></div></div>');templateCache.put('/app/management/views/referral/referral-total-payment-config/referral-total-payment-config-view.html','<div class="referral-total-payment-config-view enyo">    <style>        .referral-total-payment-config-view {            font-size: 13px;        }            .referral-total-payment-config-view .config-label {                width: 100px;                float: left;                line-height: 28px;                text-align: right;            }            .referral-total-payment-config-view .config-value {                float: left;            }            .referral-total-payment-config-view .config-option {                margin-left: 80px;            }            .referral-total-payment-config-view .tooltip {                width: 312px;            }                .referral-total-payment-config-view .tooltip .tooltip-inner {                    max-width: unset;                }            .referral-total-payment-config-view .ares-numeric-input-input {                text-align: left;                padding-left: 10px;            }            .referral-total-payment-config-view .stair-separator {                position: absolute;                height: 54px;                width: 38px;                border-left: 1px solid #d9d9d9;                border-bottom: 1px solid #d9d9d9;                top: 23px;                left: 111px;            }                .referral-total-payment-config-view .stair-separator:after {                    content: "";                    width: 24px;                    height: 5px;                    border-bottom: 1px solid #d9d9d9;                    position: absolute;                    top: -4px;                    right: 25px;                }            .referral-total-payment-config-view .stair-separator-view {                position: absolute;                height: 20px;                width: 38px;                border-left: 1px solid #d9d9d9;                /* border-bottom: 1px solid #d9d9d9; */                top: -4px;                left: 16px;            }            .referral-total-payment-config-view .stair-separator-view2 {                position: absolute;                height: 20px;                width: 20px;                border-left: 1px solid #d9d9d9;                border-bottom: 1px solid #d9d9d9;                top: -4px;                left: 16px;            }            .referral-total-payment-config-view .stair-separator-view:after {                content: "";                width: 17px;                height: 5px;                border-bottom: 1px solid #d9d9d9;                position: absolute;                top: 15px;                left: 0;            }            .referral-total-payment-config-view .non-step-mode-static-popover:before,            .referral-total-payment-config-view .non-step-mode-static-popover:after {                left: 100px;            }            .referral-total-payment-config-view .icon-guanbi {                font-size: 10px;                cursor: pointer;            }    </style>    <div class="enyo-mt-10 enyo-lh-28 enyo-fs-14" ng-if="!uiState.isEdit && uiState.isShowErrorMessage"         style="background-color: #FFDBDB">        <div class="close-btn" ng-click="close()" style="float: right;padding-right:5px;">            <i class="iconfont icon-guanbi"></i>        </div>        <div style="padding-top: 15px;">            <div style="float: left;padding: 10px;">                <i class="iconfont icon-chucuoshibai" style="color: red;"></i>            </div>            <div style="padding-bottom: 5px;    line-height: 20px;">                <div style="font-weight:600">规则失效提醒</div>                <div>{{errorMessage}}</div>            </div>        </div>    </div>    <div class="enyo-mt-10 enyo-lh-28 enyo-fs-14">        <ares-switch on-label="启用" off-label="未启用" is-disabled="{{!uiState.isEdit}}" value="referralConfig.isEnabled">        </ares-switch>        <button class="btn btn-primary pull-right h28" ng-if="!uiState.isEdit" ng-click="edit()"                ares-hide-when-parent="Referral" ares-authorize="referralCenter.referralConfig">            编辑        </button>    </div>    <div class="enyo-dashed-line"></div>    <div ng-if="!uiState.isEdit">        <div class="clearfix">            <div class="config-label">                激励有效期：            </div>            <div class="config-value enyo-lh-28">                <span>                    不限制                </span>            </div>        </div>        <div class="clearfix">            <div class="config-label">                激励方式：            </div>            <div class="config-value enyo-lh-28">                <span ng-if="referralConfig.actionType == 1">积分</span>                <div ng-show="referralConfig.actionType == 1" style="position: relative;">                    <div style="margin-left: 40px;">                        自{{referralConfig.startDate|toDateString}}起，所有被推荐人累计消费大于等于{{referralConfig.rules[0].level1Benchmark}}元，推荐人                        可获得                        &nbsp;<span class="enyo-text-dark enyo-text-bold">{{referralConfig.rules[0].level1ActionData2}}</span>&nbsp;                        积分                    </div>                    <div class="stair-separator-view"></div>                </div>                <span ng-if="referralConfig.actionType == 2">优惠券</span>                <div ng-show="referralConfig.actionType == 2" style="position: relative;">                    <div style="margin-left: 40px;">                        自{{referralConfig.startDate|toDateString}}起，所有被推荐人累计消费大于等于{{referralConfig.rules[0].level1Benchmark}}元，推荐人                        可获得                        &nbsp;<span class="enyo-text-dark enyo-text-bold">{{giftCertificate.certificateName}}</span>&nbsp;                        券；<div ng-show="giftCertificate" style="display: inline-block;">                            (库存：{{giftCertificate.leftCount}}<span style="margin-left: 10px"                                                                   ng-show="uiState.isGiftCertificateValid">生效中</span><span style="margin-left: 10px"                                                                                                                            ng-show="!uiState.isGiftCertificateValid">已失效</span>)                        </div>                    </div>                    <div class="stair-separator-view2"></div>                </div>            </div>        </div>        <div style="margin-left: 100px;line-height: 25px;" class="enyo-lh-28">            <div>*注： 1、累计消费金额调整后，对已发放优惠券/积分的患者不再生效；</div>            <div style="margin-left: 35px;">2、推荐消费金额为被推荐人消费计入现金流的部分，包括储值卡充值、诊疗单收费、卡券售卖； </div>            <div style="margin-left: 35px;">3、系统每天凌晨会校验哪些推荐人满足条件，并向推荐人发放相应的积分/优惠券； </div>        </div>    </div>    <div class="referral-payment-config-form" ng-if="uiState.isEdit">        <div class="clearfix">            <div class="config-label">                激励有效期：            </div>            <div class="config-value">                <input type="radio" class="enyo-radio" ng-model="uiState.isValidDayEnabled" ng-value="false"                       id="referral-payment-config-validation-off">                <label for="referral-payment-config-validation-off" class="enyo-radio-label h28 enyo-mr-20">                    不限制                </label>            </div>        </div>        <div class="clearfix enyo-mt-10">            <div class="config-label">                激励方式：            </div>            <div class="config-value">                <input type="radio" class="enyo-radio" ng-model="referralConfig.actionType" ng-value="1"                       id="total-payment-active-type-point" ng-change="changeActionType()">                <label for="total-payment-active-type-point" class="enyo-radio-label h28 enyo-mr-20">                    积分                </label>                <input type="radio" class="enyo-radio" ng-model="referralConfig.actionType" ng-value="2"                       id="total-payment-active-type-gift" ng-change="changeActionType()">                <label for="total-payment-active-type-gift" class="enyo-radio-label h28 enyo-mr-20">                    优惠券                </label>                <div class="enyo-static-popover" ng-show="referralConfig.actionType == 1">                    <div>                        <span>自</span>                        <input id="startDateInput" kendo-date-picker                               k-format="\'yyyy-MM-dd\'"                               k-parse-formats="[\'yyyy-MM-dd\']"                               k-ng-model="referralConfig.startDate" style="width: 120px" /><span>起，</span>  <span>所有被推荐人累计消费大于等于 </span>                        <ares-numeric-input value="referralConfig.rules[0].level1Benchmark" input-width="60px"                                            class="h28" hide-btn="true" min="0" max="99999999"></ares-numeric-input>                        元，推荐人可获得                        <ares-numeric-input value="referralConfig.rules[0].level1ActionData2" input-width="60px"                                            class="h28" hide-btn="true" min="0" max="9999999"></ares-numeric-input>                        积分                    </div>                </div>                <div class="enyo-static-popover non-step-mode-static-popover" style="width: 950px"                     ng-show="referralConfig.actionType == 2">                    <div>                        <span>自</span>                        <input id="startDateInput" kendo-date-picker                               k-format="\'yyyy-MM-dd\'"                               k-parse-formats="[\'yyyy-MM-dd\']"                               k-ng-model="referralConfig.startDate" style="width: 120px" /><span>起，</span> <span>所有被推荐人累计消费大于等于 </span>                        <ares-numeric-input value="referralConfig.rules[0].level1Benchmark" input-width="60px"                                            class="h28" hide-btn="true" min="0" max="99999999"></ares-numeric-input>                        元，推荐人可获得                        <input type="text" class="advance-search-dropdown form-control h28" style="width:220px;">                        券；<div ng-show="giftCertificate" style="display: inline-block;">                            (库存：{{giftCertificate.leftCount}}<span style="margin-left: 10px"                                                                   ng-show="uiState.isGiftCertificateValid">生效中</span><span style="margin-left: 10px"                                                                                                                            ng-show="!uiState.isGiftCertificateValid">已失效</span>)                        </div>                    </div>                </div>            </div>        </div>        <div class="enyo-mt-10">            <div style="margin-left: 100px;line-height: 25px;" class="enyo-lh-28">                <div>*注：1、累计消费金额调整后，对已发放优惠券/积分的患者不再生效；</div>                <div style="margin-left: 33px;">2、推荐消费金额为被推荐人消费计入现金流的部分，包括储值卡充值、诊疗单收费、卡券售卖； </div>                <div style="margin-left: 33px;">3、系统每天凌晨会校验哪些推荐人满足条件，并向推荐人发放相应的积分/优惠券； </div>            </div>        </div>        <div class="enyo-mt-10" style="margin-left: 84px;">            <button class="btn btn-primary" ng-click="save()">保存</button>            <button class="btn btn-default" ng-click="cancel()">取消</button>        </div>    </div>    <div class="enyo-mt-10" style="height:32px;line-height:32px;margin-left:23px;" ng-if="uiState.isNewWxEnabled">        您可前往<label style="font-weight:bold;cursor:pointer;color: #00A6C9;" ng-click="setReferralRule()">这里</label>配置微信邀请好友的激励规则    </div>    <div class="enyo-dashed-line"></div></div>');})();